Disable go modules only in dapper, not always

pull/1058/head
Darren Shepherd 2019-11-13 06:16:53 +00:00
parent 6063317144
commit 3d7781df70
2 changed files with 1 additions and 2 deletions

View File

@ -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/

View File

@ -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}