From 6ca3b151b1fc0b838b55586adbc6c0990cfb2586 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Wed, 1 May 2013 22:05:36 -0700 Subject: [PATCH] * Hack: improve the way dockerbuilder is built --- hack/dockerbuilder/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hack/dockerbuilder/Dockerfile b/hack/dockerbuilder/Dockerfile index bf5a25de90..5a7a3160aa 100644 --- a/hack/dockerbuilder/Dockerfile +++ b/hack/dockerbuilder/Dockerfile @@ -1,5 +1,6 @@ # This will build a container capable of producing an official binary build of docker and # uploading it to S3 +maintainer Solomon Hykes from ubuntu:12.10 run apt-get update run DEBIAN_FRONTEND=noninteractive apt-get install -y -q s3cmd @@ -10,8 +11,9 @@ run DEBIAN_FRONTEND=noninteractive apt-get install -y -q build-essential # Packages required to build an ubuntu package run DEBIAN_FRONTEND=noninteractive apt-get install -y -q debhelper run DEBIAN_FRONTEND=noninteractive apt-get install -y -q autotools-dev -copy fake_initctl /usr/local/bin/initctl +add . /src +run cp /src/dockerbuilder /usr/local/bin/ +run cp /src/fake_initctl /usr/local/bin/initctl +run cp /src/s3cfg /.s3cfg run DEBIAN_FRONTEND=noninteractive apt-get install -y -q devscripts -copy dockerbuilder /usr/local/bin/dockerbuilder -copy s3cfg /.s3cfg -# run $img dockerbuilder $REVISION_OR_TAG $S3_ID $S3_KEY +cmd dockerbuilder