From 0ddfd077491f319955af073d9ee88f44c33fea4e Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Tue, 27 Jan 2015 14:12:47 -0500 Subject: [PATCH] Use the tiny registry-build-worker image. Bind mount in the root certificates so that Quay SSL certificates can be calidated. --- buildman/templates/cloudconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildman/templates/cloudconfig.yaml b/buildman/templates/cloudconfig.yaml index 08ade4340..09e6327ae 100644 --- a/buildman/templates/cloudconfig.yaml +++ b/buildman/templates/cloudconfig.yaml @@ -26,6 +26,6 @@ coreos: TimeoutStartSec=600 TimeoutStopSec=2000 ExecStartPre=/usr/bin/docker login -u {{ quay_username }} -p {{ quay_password }} -e unused quay.io - ExecStart=/usr/bin/docker run --rm --net=host --name quay-builder --privileged --env-file /root/overrides.list -v /var/run/docker.sock:/var/run/docker.sock quay.io/coreos/registry-build-worker:latest + ExecStart=/usr/bin/docker run --rm --net=host --name quay-builder --privileged --env-file /root/overrides.list -v /var/run/docker.sock:/var/run/docker.sock -v /usr/share/ca-certificates:/etc/ssl/certs quay.io/coreos/registry-build-worker:scratched ExecStop=/usr/bin/docker stop quay-builder ExecStopPost=/bin/sh -xc "/bin/sleep 120; /usr/bin/systemctl --no-block poweroff"