feat: copy golang binaries into place before usage

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-12-12 01:49:44 -05:00
1 parent e3eab48e4a
commit 3f408f1304
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,8 @@ RUN command -v fpm > /dev/null || sudo gem install fpm --no-ri --no-rdoc
ARG GOLANG_VERSION
RUN wget -qO /tmp/go${GOLANG_VERSION}.linux-amd64.tar.gz https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf /tmp/go${GOLANG_VERSION}.linux-amd64.tar.gz
&& tar -C /usr/local -xzf /tmp/go${GOLANG_VERSION}.linux-amd64.tar.gz \
&& cp /usr/local/go/bin/* /usr/local/bin
ARG WORKDIR=/go/src/github.com/dokku/dokku