From d3d2823edfb0247fe3ee320414dc3c836e53a3b9 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 23 May 2023 12:56:02 +0200 Subject: [PATCH] Dockerfile: temporarily skip CRIU stage The package repository currently has issues; => ERROR https://download.opensuse.org/repositories/devel:/tools:/criu/Debian_11/Release.key The only test currently using this binary is currently skipped, as the test was broken; https://github.com/moby/moby/blob/6e98a7f2c9184d4e91df8abf06e2245a0cd77c58/integration/container/checkpoint_test.go#L32-L33 So let's disable this stage for the time being. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e8f87d8a9a..20456d81d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -447,7 +447,12 @@ COPY --from=tomll /build/ /usr/local/bin/ COPY --from=gowinres /build/ /usr/local/bin/ COPY --from=tini /build/ /usr/local/bin/ COPY --from=registry /build/ /usr/local/bin/ -COPY --from=criu /build/ /usr/local/bin/ + +# Skip the CRIU stage for now, as the opensuse package repository is sometimes +# unstable, and we're currently not using it in CI. +# +# FIXME(thaJeztah): re-enable this stage when https://github.com/moby/moby/issues/38963 is resolved (see https://github.com/moby/moby/pull/38984) +# COPY --from=criu /build/ /usr/local/bin/ COPY --from=gotestsum /build/ /usr/local/bin/ COPY --from=golangci_lint /build/ /usr/local/bin/ COPY --from=shfmt /build/ /usr/local/bin/