Dockerfile: update criu stage to Debian 12 (Bookworm)
Follow-up toe72c4818c4
, which updated the Dockerfile to use Debian 12 "bookworm", but forgot to update the package repository to use for the CRIU packages. Note that the criu stage is currently not built by default (seed3d2823edf
), so to verify the stage, it needs to be built manually; docker build --target=criu . This patch adds an extra `criu --version` to the build, so that it's verified to be "functional". Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
2a38569337
commit
c786c3a974
1 changed files with 3 additions and 2 deletions
|
@ -46,10 +46,11 @@ FROM base AS criu
|
||||||
ADD --chmod=0644 https://download.opensuse.org/repositories/devel:/tools:/criu/Debian_11/Release.key /etc/apt/trusted.gpg.d/criu.gpg.asc
|
ADD --chmod=0644 https://download.opensuse.org/repositories/devel:/tools:/criu/Debian_11/Release.key /etc/apt/trusted.gpg.d/criu.gpg.asc
|
||||||
RUN --mount=type=cache,sharing=locked,id=moby-criu-aptlib,target=/var/lib/apt \
|
RUN --mount=type=cache,sharing=locked,id=moby-criu-aptlib,target=/var/lib/apt \
|
||||||
--mount=type=cache,sharing=locked,id=moby-criu-aptcache,target=/var/cache/apt \
|
--mount=type=cache,sharing=locked,id=moby-criu-aptcache,target=/var/cache/apt \
|
||||||
echo 'deb https://download.opensuse.org/repositories/devel:/tools:/criu/Debian_11/ /' > /etc/apt/sources.list.d/criu.list \
|
echo 'deb https://download.opensuse.org/repositories/devel:/tools:/criu/Debian_12/ /' > /etc/apt/sources.list.d/criu.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends criu \
|
&& apt-get install -y --no-install-recommends criu \
|
||||||
&& install -D /usr/sbin/criu /build/criu
|
&& install -D /usr/sbin/criu /build/criu \
|
||||||
|
&& /build/criu --version
|
||||||
|
|
||||||
# registry
|
# registry
|
||||||
FROM base AS registry-src
|
FROM base AS registry-src
|
||||||
|
|
Loading…
Reference in a new issue