Created
June 18, 2013 12:09
-
-
Save surma/5804826 to your computer and use it in GitHub Desktop.
Docker Buildfile for a Ubuntu system with go1.1.1 installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Alexander Surma <surma@surmair.de> | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y git mercurial bzr wget | |
RUN wget -O - https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | tar xzf - -C /usr/local | |
RUN (echo "export PATH=/usr/local/go/bin:\$PATH"; echo "export GOPATH=$HOME"; cat /etc/bash.bashrc) > /root/tmp | |
RUN mv /root/tmp /etc/bash.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment