example.changefile 542 B

1234567891011
  1. # Start build from a know base image
  2. from base:ubuntu-12.10
  3. # Update ubuntu sources
  4. run echo 'deb http://archive.ubuntu.com/ubuntu quantal main universe multiverse' > /etc/apt/sources.list
  5. run apt-get update
  6. # Install system packages
  7. run DEBIAN_FRONTEND=noninteractive apt-get install -y -q git
  8. run DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl
  9. run DEBIAN_FRONTEND=noninteractive apt-get install -y -q golang
  10. # Insert files from the host (./myscript must be present in the current directory)
  11. copy myscript /usr/local/bin/myscript