Skip to content

Commit

Permalink
Add execution permissions to dep
Browse files Browse the repository at this point in the history
  • Loading branch information
federicojasson committed Mar 11, 2018
1 parent ed0d289 commit f524c81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ubuntu/golang/1.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \
&& echo "$GOLANG_DOWNLOAD_SHA256 /tmp/golang.tar.gz" | sha256sum -c - \
&& tar -xzf /tmp/golang.tar.gz -C /usr/local \
&& rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& wget "https://github.com/golang/dep/releases/download/v$DEP_VERSION/$DEP_BINARY" -O "$GOPATH/bin/dep"
&& wget "https://github.com/golang/dep/releases/download/v$DEP_VERSION/$DEP_BINARY" -O "$GOPATH/bin/dep" \
&& chmod +x "$GOPATH/bin/dep"

ENV PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"
WORKDIR $GOPATH
Expand Down
3 changes: 2 additions & 1 deletion ubuntu/golang/1.7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \
&& echo "$GOLANG_DOWNLOAD_SHA256 /tmp/golang.tar.gz" | sha256sum -c - \
&& tar -xzf /tmp/golang.tar.gz -C /usr/local \
&& rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& wget "https://github.com/golang/dep/releases/download/v$DEP_VERSION/$DEP_BINARY" -O "$GOPATH/bin/dep"
&& wget "https://github.com/golang/dep/releases/download/v$DEP_VERSION/$DEP_BINARY" -O "$GOPATH/bin/dep" \
&& chmod +x "$GOPATH/bin/dep"

ENV PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"
WORKDIR $GOPATH
Expand Down

0 comments on commit f524c81

Please sign in to comment.