Updates gitian-build.sh script for the docker virtualization method recently added to gitian-builder.
Second commit depends on https://github.com/devrandom/gitian-builder/pull/185
Updates gitian-build.sh script for the docker virtualization method recently added to gitian-builder.
Second commit depends on https://github.com/devrandom/gitian-builder/pull/185
255@@ -238,6 +256,10 @@ then
256 then
257 sudo apt-get install lxc
258 bin/make-base-vm --suite trusty --arch amd64 --lxc
259+ elif [[ -n "$USE_DOCKER" ]]
260+ then
261+ sudo apt-get install docker-ce
262+ bin/make-base-vm --suite trusty --arch amd64 --docker --docker-image-digest b8855dc848e2622653ab557d1ce2f4c34218a9380cceaa51ced85c5f3c8eb201
Are you sure that this digest will stay the same? They update the image very often. https://hub.docker.com/r/library/ubuntu/tags/
Edit: That make sure that docker always pull the same image base.
Is there any way to verify this hash?
I tried to build the image from scratch using https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh but it would give a different hash each run…
Error: No such container: gitian-target
sudo
) or set docker to run without root.