1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

* Hack: improve the way dockerbuilder is built

This commit is contained in:
Solomon Hykes 2013-05-01 22:05:36 -07:00
parent 71199f595d
commit 6ca3b151b1

View file

@ -1,5 +1,6 @@
# This will build a container capable of producing an official binary build of docker and # This will build a container capable of producing an official binary build of docker and
# uploading it to S3 # uploading it to S3
maintainer Solomon Hykes <solomon@dotcloud.com>
from ubuntu:12.10 from ubuntu:12.10
run apt-get update run apt-get update
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q s3cmd 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 # 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 debhelper
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q autotools-dev 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 run DEBIAN_FRONTEND=noninteractive apt-get install -y -q devscripts
copy dockerbuilder /usr/local/bin/dockerbuilder cmd dockerbuilder
copy s3cfg /.s3cfg
# run $img dockerbuilder $REVISION_OR_TAG $S3_ID $S3_KEY