Disable Go modules to fix Docker/containerd builds.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=363
This commit is contained in:
parent
f11c9259e2
commit
c3815d76b8
@ -310,6 +310,8 @@ export DOCKER_GITCOMMIT="%{git_version}"
|
||||
export GITCOMMIT="%{git_version}"
|
||||
export SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-%{git_commit_epoch}}"
|
||||
export BUILDTIME="$(date -u -d "@$SOURCE_DATE_EPOCH" --rfc-3339 ns 2>/dev/null | sed -e 's/ /T/')"
|
||||
# NOTE: This will have to be removed with the next major Docker bump.
|
||||
export GO111MODULE=off
|
||||
EOF
|
||||
) > docker_build_env
|
||||
. ./docker_build_env
|
||||
|
Loading…
Reference in New Issue
Block a user