Skip to content

Instantly share code, notes, and snippets.

@pascalopitz
Created June 18, 2014 01:35
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 pascalopitz/d08e01cc210ae3d60632 to your computer and use it in GitHub Desktop.
Save pascalopitz/d08e01cc210ae3d60632 to your computer and use it in GitHub Desktop.
FROM ubuntu
MAINTAINER Pascal Opitz, pascal.opitz@gmail.com
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
make
# Get and compile go
RUN curl -s https://go.googlecode.com/files/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
ENV PATH /usr/local/go/bin:/go/bin:$PATH
ENV GOPATH /go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment