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.

Move GO111MODULE=on to ubuntu-dev-go image #236

Merged
merged 1 commit into from
Jul 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .sail/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
3 changes: 2 additions & 1 deletion images/ubuntu-dev-go/Dockerfile.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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/"