Remove reference of GO111MODULE=off
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
parent
56672b961d
commit
56eca84ae8
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user