Skip to content

Instantly share code, notes, and snippets.

@AndrewVos
Created June 26, 2014 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewVos/0f56e1a0945bd146473f to your computer and use it in GitHub Desktop.
Save AndrewVos/0f56e1a0945bd146473f to your computer and use it in GitHub Desktop.
#golang
RUN apt-get update
RUN apt-get install -y --force-yes curl && \
curl -O https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.2.linux-amd64.tar.gz && \
rm go1.2.linux-amd64.tar.gz
ENV GOPATH /gopath
ENV PATH $PATH:$GOPATH/bin:/usr/local/go/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment