2013-04-11 17:44:39 -04:00
|
|
|
# Start build from a know base image
|
2013-05-01 03:14:52 -04:00
|
|
|
maintainer Solomon Hykes <solomon@dotcloud.com>
|
2013-04-11 17:44:39 -04:00
|
|
|
from base:ubuntu-12.10
|
|
|
|
# Update ubuntu sources
|
|
|
|
run echo 'deb http://archive.ubuntu.com/ubuntu quantal main universe multiverse' > /etc/apt/sources.list
|
|
|
|
run apt-get update
|
|
|
|
# Install system packages
|
|
|
|
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q git
|
|
|
|
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl
|
|
|
|
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q golang
|
|
|
|
# Insert files from the host (./myscript must be present in the current directory)
|
|
|
|
copy myscript /usr/local/bin/myscript
|