Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Go Workspace dirs & envs
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorbenei committed Jan 9, 2016
1 parent 01bd354 commit 7f7f98c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ RUN gem install bundler --no-document
RUN wget -q https://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz -O go-bins.tar.gz
RUN tar -C /usr/local -xvzf go-bins.tar.gz
RUN rm go-bins.tar.gz
# ENV setup
ENV PATH $PATH:/usr/local/go/bin
# Go Workspace dirs & envs
# From the official Golang Dockerfile
# https://raw.githubusercontent.com/docker-library/golang/master/1.5/Dockerfile
ENV GOPATH /go
ENV PATH $GOPATH/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"


# Install docker
Expand Down

0 comments on commit 7f7f98c

Please sign in to comment.