From c877563bf1056ca9ff62c676f23c00df21a89d92 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Mon, 1 Jul 2019 13:45:13 +1000 Subject: [PATCH] move GO111MODULE=on to ubuntu-dev-go image --- .sail/Dockerfile | 2 -- images/ubuntu-dev-go/Dockerfile.lang | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.sail/Dockerfile b/.sail/Dockerfile index b080445..aca884c 100644 --- a/.sail/Dockerfile +++ b/.sail/Dockerfile @@ -8,8 +8,6 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | b LABEL project_root "~/go/src/go.coder.com" -ENV GO111MODULE=on - # Install the latest version of Hugo. RUN wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_extended_0.55.4_Linux-64bit.deb && \ sudo dpkg -i /tmp/hugo.deb && \ diff --git a/images/ubuntu-dev-go/Dockerfile.lang b/images/ubuntu-dev-go/Dockerfile.lang index b08c5fc..dd9c414 100644 --- a/images/ubuntu-dev-go/Dockerfile.lang +++ b/images/ubuntu-dev-go/Dockerfile.lang @@ -8,9 +8,10 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" ADD install_go_tools.sh /tmp/ RUN bash /tmp/install_go_tools.sh +ENV GO111MODULE=on + # This technically has no effect until #35 is resolved. RUN installext ms-vscode.go LABEL share.go_mod "~/go/pkg/mod:~/go/pkg/mod" LABEL project_root "~/go/src/" -