Created
June 18, 2014 01:35
-
-
Save pascalopitz/d08e01cc210ae3d60632 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Pascal Opitz, [email protected] | |
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