From c3815d76b81021dca94e00f480730a3f08a0494bbd6cc435aa8804f593093809 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Wed, 6 Oct 2021 03:17:02 +0000 Subject: [PATCH] Disable Go modules to fix Docker/containerd builds. OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=363 --- docker.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker.spec b/docker.spec index 04ef9e9..cf60bd2 100644 --- a/docker.spec +++ b/docker.spec @@ -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