mirror of https://github.com/k3s-io/k3s
Disable go modules only in dapper, not always
parent
6063317144
commit
3d7781df70
|
@ -24,6 +24,7 @@ RUN if [ "$DQLITE" = true ]; then \
|
||||||
apk add --allow-untrusted /usr/local/packages/*.apk \
|
apk add --allow-untrusted /usr/local/packages/*.apk \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
ENV GO111MODULE off
|
||||||
ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/rancher/k3s/.cache
|
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_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE
|
||||||
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/
|
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_RANCHER_CONTAINERD="github.com/rancher/containerd"
|
||||||
PKG_CRICTL="github.com/kubernetes-sigs/cri-tools"
|
PKG_CRICTL="github.com/kubernetes-sigs/cri-tools"
|
||||||
|
|
||||||
export GO111MODULE=off
|
|
||||||
|
|
||||||
VENDOR_PREFIX="${PKG}/vendor/"
|
VENDOR_PREFIX="${PKG}/vendor/"
|
||||||
VERSIONFLAGS="
|
VERSIONFLAGS="
|
||||||
-X ${PKG}/pkg/version.Version=${VERSION}
|
-X ${PKG}/pkg/version.Version=${VERSION}
|
||||||
|
|
Loading…
Reference in New Issue