From e921db0da62ccc25d4c6cf1d5827a017ea92ea9e Mon Sep 17 00:00:00 2001 From: Anatoliy Bazko Date: Tue, 23 Jul 2019 08:10:27 +0300 Subject: [PATCH] Set correct permissions for /go sub-folders (#363) Signed-off-by: Anatoliy Bazko --- dockerfiles/remote-plugin-go-1.10.7/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dockerfiles/remote-plugin-go-1.10.7/Dockerfile b/dockerfiles/remote-plugin-go-1.10.7/Dockerfile index 415dbe9b0..bce550098 100644 --- a/dockerfiles/remote-plugin-go-1.10.7/Dockerfile +++ b/dockerfiles/remote-plugin-go-1.10.7/Dockerfile @@ -42,12 +42,12 @@ RUN set -eux; \ /usr/local/go/pkg/obj \ ; \ export GOPATH="/go"; \ - mkdir -p "$GOPATH/src" "$GOPATH/bin" "$GOPATH/pkg" && chmod -R 777 "$GOPATH"; \ + mkdir -p "$GOPATH/src" "$GOPATH/bin" "$GOPATH/pkg"; \ export PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"; \ go get -u -v github.com/ramya-rao-a/go-outline && \ - go get -u -v github.com/acroca/go-symbols && \ - go get -u -v github.com/mdempsky/gocode && \ - go get -u -v github.com/rogpeppe/godef && \ + go get -u -v github.com/acroca/go-symbols && \ + go get -u -v github.com/mdempsky/gocode && \ + go get -u -v github.com/rogpeppe/godef && \ go get -u -v golang.org/x/tools/cmd/godoc && \ go get -u -v github.com/zmb3/gogetdoc && \ go get -u -v golang.org/x/lint/golint && \ @@ -63,7 +63,8 @@ RUN set -eux; \ go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct && \ go get -u -v github.com/alecthomas/gometalinter && \ go get -u -v github.com/go-delve/delve/cmd/dlv && \ - gometalinter --install \ + gometalinter --install && \ + chmod -R 777 "$GOPATH" \ ; \ apk del .build-deps \ ; \