mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
Disable go modules only in dapper, not always
This commit is contained in:
@@ -24,6 +24,7 @@ RUN if [ "$DQLITE" = true ]; then \
|
||||
apk add --allow-untrusted /usr/local/packages/*.apk \
|
||||
;fi
|
||||
|
||||
ENV GO111MODULE off
|
||||
ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/rancher/k3s/.cache
|
||||
ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE
|
||||
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/
|
||||
|
||||
@@ -10,8 +10,6 @@ PKG_CONTAINERD="github.com/containerd/containerd"
|
||||
PKG_RANCHER_CONTAINERD="github.com/rancher/containerd"
|
||||
PKG_CRICTL="github.com/kubernetes-sigs/cri-tools"
|
||||
|
||||
export GO111MODULE=off
|
||||
|
||||
VENDOR_PREFIX="${PKG}/vendor/"
|
||||
VERSIONFLAGS="
|
||||
-X ${PKG}/pkg/version.Version=${VERSION}
|
||||
|
||||
Reference in New Issue
Block a user