Remove reference of GO111MODULE=off

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu 2020-11-22 00:30:46 +08:00
parent 56672b961d
commit 56eca84ae8
2 changed files with 0 additions and 2 deletions

1
Vagrantfile vendored
View File

@ -85,7 +85,6 @@ Vagrant.configure("2") do |config|
curl -fsSL "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" | tar Cxz /usr/local curl -fsSL "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" | tar Cxz /usr/local
cat >> /etc/environment <<EOF cat >> /etc/environment <<EOF
PATH=/usr/local/go/bin:$PATH PATH=/usr/local/go/bin:$PATH
GO111MODULE=off
EOF EOF
source /etc/environment source /etc/environment
cat >> /etc/profile.d/sh.local <<EOF cat >> /etc/profile.d/sh.local <<EOF

View File

@ -35,7 +35,6 @@ RUN apt-get update && apt-get install -y \
COPY go.mod go.mod COPY go.mod go.mod
COPY script/setup/install-runc install-runc COPY script/setup/install-runc install-runc
ARG GOPROXY=direct ARG GOPROXY=direct
ARG GO111MODULE=off
RUN ./install-runc RUN ./install-runc
FROM golang-base AS dev FROM golang-base AS dev