Dockerfile: set GO111MODULE=off
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 961119db21
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
aa6a9891b0
commit
075e057de5
4 changed files with 4 additions and 1 deletions
|
@ -33,6 +33,7 @@ FROM golang:${GO_VERSION}-stretch AS base
|
|||
ARG APT_MIRROR
|
||||
RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \
|
||||
&& sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list
|
||||
ENV GO111MODULE=off
|
||||
|
||||
FROM base AS criu
|
||||
ARG DEBIAN_FRONTEND
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
ARG GO_VERSION=1.12.17
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine AS base
|
||||
|
||||
ENV GO111MODULE=off
|
||||
RUN apk --no-cache add \
|
||||
bash \
|
||||
btrfs-progs-dev \
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
ARG GO_VERSION=1.12.17
|
||||
|
||||
FROM golang:${GO_VERSION}-stretch
|
||||
ENV GO111MODULE=off
|
||||
|
||||
# allow replacing httpredir or deb mirror
|
||||
ARG APT_MIRROR=deb.debian.org
|
||||
|
|
|
@ -173,6 +173,7 @@ ARG GO_VERSION=1.12.17
|
|||
ENV GO_VERSION=${GO_VERSION} `
|
||||
GIT_VERSION=2.11.1 `
|
||||
GOPATH=C:\gopath `
|
||||
GO111MODULE=off `
|
||||
FROM_DOCKERFILE=1
|
||||
|
||||
RUN `
|
||||
|
|
Loading…
Reference in a new issue