mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
17 lines
876 B
Docker
17 lines
876 B
Docker
# This will build a container capable of producing an official binary build of docker and
|
|
# uploading it to S3
|
|
from ubuntu:12.10
|
|
run apt-get update
|
|
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
|