Introducing our new CEO Don Johnson - Read More

femtopixel/docker-builder

Sponsored OSS

By FemtoPixel

Updated almost 7 years ago

Docker builder - docker image / This image can build a docker image when receiving a message

Image
Languages & Frameworks
Integration & Delivery
Operating Systems
1

116

Github

Docker Builder - Docker image

When receiving a message on http protocole, daemon is executed to interprete JSON body message and send to /root/update.sh script

Usage

docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock test
  • If you want to add your git keys, add -v "$HOME/.ssh/:/root/.ssh/"
  • If you want to crossbuild architectures, add -v "/usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" and so on...
  • If you want to push compiled images, you may need to add -v $HOME/.docker/config.json:/root/.docker/config.json

Appendixes

Install Docker

If you don't have Docker installed yet, you can do it easily in one line using this command

curl -sSL "https://gist.githubusercontent.com/jaymoulin/e749a189511cd965f45919f2f99e45f3/raw/0e650b38fde684c4ac534b254099d6d5543375f1/ARM%2520(Raspberry%2520PI)%2520Docker%2520Install" | sudo sh && sudo usermod -aG docker $USER

Docker Pull Command

docker pull femtopixel/docker-builder