Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 93844eb

Browse files
authored
Merge pull request #236 from cdr/enable-go-mod-image
Move GO111MODULE=on to ubuntu-dev-go image
2 parents c47d491 + c877563 commit 93844eb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.sail/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | b
88

99
LABEL project_root "~/go/src/go.coder.com"
1010

11-
ENV GO111MODULE=on
12-
1311
# Install the latest version of Hugo.
1412
RUN wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_extended_0.55.4_Linux-64bit.deb && \
1513
sudo dpkg -i /tmp/hugo.deb && \

images/ubuntu-dev-go/Dockerfile.lang

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
88
ADD install_go_tools.sh /tmp/
99
RUN bash /tmp/install_go_tools.sh
1010

11+
ENV GO111MODULE=on
12+
1113
# This technically has no effect until #35 is resolved.
1214
RUN installext ms-vscode.go
1315

1416
LABEL share.go_mod "~/go/pkg/mod:~/go/pkg/mod"
1517
LABEL project_root "~/go/src/"
16-

0 commit comments

Comments
 (0)