lbry-docker/lbrynet/linux-armhf-compiler
2019-04-23 21:07:38 -04:00
..
Dockerfile Three stage Dockerfile for lbrynet ARM and X86_64 2019-04-23 21:07:38 -04:00
README.md Adding what I had in the lbryio/lbry PR 2019-04-22 20:10:07 +00:00
start.sh Three stage Dockerfile for lbrynet ARM and X86_64 2019-04-23 21:07:38 -04:00

armhf-compiler

This container's goal is to make CI/CD easier for everyone, Travis CI, GitlabCI, Jenkins... Your desktop's docker equipped development environment.

Example Usage

binfmt_misc register

This step sets up your docker daemon to support more container architectures.

Register quemu-*-static for all supported processors except the current one.

  • docker run --rm --privileged multiarch/qemu-user-static:register

build the armhf bin

  • docker build --tag lbryio/lbrynet:armhf-compiler .

export compiled bin to local /target

This containers sole purpose is to build and spit out the bin.

  • docker run --rm -ti -v $(pwd)/target:/target lbryio/lbrynet:armhf-compiler

Cleanup

If you're doing this on a machine you care to have restored to defaults this is the only host change we imposed so to revert the change you must execute the following docker command.

Same as above, but remove all registered binfmt_misc before

  • docker run --rm --privileged multiarch/qemu-user-static:register --reset