|
|
@ -7,16 +7,13 @@ MAINTAINER Michael Crosby http://crosbymichael.com
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get upgrade -y
|
|
|
|
RUN apt-get upgrade -y
|
|
|
|
|
|
|
|
|
|
|
|
ADD https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz /opt/go.tar.gz
|
|
|
|
RUN apt-get install -y curl ;\
|
|
|
|
|
|
|
|
curl -s https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz | tar -v -C /opt -xz ;\
|
|
|
|
RUN \
|
|
|
|
cp -a /opt/go/* /usr/local/ ;\
|
|
|
|
cd /opt ;\
|
|
|
|
rm -rf /opt/go ;\
|
|
|
|
tar xvvf go.tar.gz ;\
|
|
|
|
|
|
|
|
rm go.tar.gz ;\
|
|
|
|
|
|
|
|
ln -s /opt/go/bin/go /usr/local/bin/go ;\
|
|
|
|
|
|
|
|
#RUN
|
|
|
|
#RUN
|
|
|
|
|
|
|
|
|
|
|
|
ENV GOROOT /opt/go
|
|
|
|
ENV GOROOT /usr/local/
|
|
|
|
|
|
|
|
|
|
|
|
ADD . /app/
|
|
|
|
ADD . /app/
|
|
|
|
|
|
|
|
|
|
|
|