Dockerfiles used to build keybase.io client Default X86 with arm and x86-crosscompile-arm options
496
Dockerfiles to build keybase.io clent
Inspired by keybase client issue #2938
A docker-compose.yml file is provided, so after cloning the repository you can:
docker-compose up <servicename> and the keybase binary will get copied to
the repository directory after a successful build.
Services:
In order to build you need docker-compose and a golang docker image wit golang
version >= 1.7.x
Instructions to install an ARM compatible docker-compose are provided [here]
(https://github.com/hypriot/arm-compose) courtesy of Hypriot.
In order to build the golang docker image that is required you have to init the
relevant submodule first: git submodule update --init --recursive
after that simply do: doker-compose up keybase-native-arm
(the golang image is marked as a requirement in the compose file, so it will get built the first time if it's not present)
The included cleanup.sh removes old containers, and keybase-build image in
order to start from scratch. (note that it doesn't remove the golang image so
you don't have to rebuild that every time)
docker build -t keybase-build -f Dockerfilename .
after the build is finished you can copy keybase binary with
docker run -it -v $(pwd):/tmp keybase-build /bin/bash
and then inside the container cp keybase /tmp
golang-arm image first, so init the
submodule with git submodule update --init --recursive then build the image with the Dockerfile inside the
golang-arm directory.Content type
Image
Digest
Size
458.8 MB
Last updated
over 9 years ago
docker pull juzam/docker-keybase-build