dockerbuilder: upload most recent Ubuntu package (note version FOO might not yet be packaged at tag vFOO)

This commit is contained in:
Solomon Hykes
2013-04-23 22:57:34 -07:00
parent b3ab0b561e
commit a0478f726d
2 changed files with 51 additions and 17 deletions
+10 -4
View File
@@ -2,10 +2,16 @@
# uploading it to S3
from ubuntu:12.10
run apt-get update
run RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive apt-get install -y -q s3cmd
run RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive apt-get install -y -q golang
run RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive apt-get install -y -q git
run RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive apt-get install -y -q build-essential
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q s3cmd
# Packages required to checkout and build docker
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q golang
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q git
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
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