From 3f408f130493cf326fffac57d3ccb1cbe61f1390 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 12 Dec 2017 01:49:44 -0500 Subject: [PATCH] feat: copy golang binaries into place before usage --- contrib/build.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/build.Dockerfile b/contrib/build.Dockerfile index 57cbcd89a..76521b778 100644 --- a/contrib/build.Dockerfile +++ b/contrib/build.Dockerfile @@ -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