diff mbox series

[1/3] automation: switch from Debian unstable to bookworm

Message ID 20230812020651.11608-1-sstabellini@kernel.org (mailing list archive)
State New, archived
Headers show
Series automation: switch Debian unstable to Bookworm | expand

Commit Message

Stefano Stabellini Aug. 12, 2023, 2:06 a.m. UTC
From: Stefano Stabellini <stefano.stabellini@amd.com>

Debian unstable used in the Xen containers is actually bookworm.
Switching to bookworm which is now stable means we are not basing our
containers on a moving target anymore.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
---
 ...2-gcc.dockerfile => bookworm-arm64v8-arm32-gcc.dockerfile} | 2 +-
 ...nstable-arm64v8.dockerfile => bookworm-arm64v8.dockerfile} | 2 +-
 ...table-cppcheck.dockerfile => bookworm-cppcheck.dockerfile} | 4 ++--
 .../{unstable-i386.dockerfile => bookworm-i386.dockerfile}    | 2 +-
 .../build/debian/{unstable.dockerfile => bookworm.dockerfile} | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
 rename automation/build/debian/{unstable-arm64v8-arm32-gcc.dockerfile => bookworm-arm64v8-arm32-gcc.dockerfile} (94%)
 rename automation/build/debian/{unstable-arm64v8.dockerfile => bookworm-arm64v8.dockerfile} (97%)
 rename automation/build/debian/{unstable-cppcheck.dockerfile => bookworm-cppcheck.dockerfile} (95%)
 rename automation/build/debian/{unstable-i386.dockerfile => bookworm-i386.dockerfile} (97%)
 rename automation/build/debian/{unstable.dockerfile => bookworm.dockerfile} (98%)

Comments

Michal Orzel Aug. 14, 2023, 7:37 a.m. UTC | #1
Hi Stefano,

On 12/08/2023 04:06, Stefano Stabellini wrote:
> 
> 
> From: Stefano Stabellini <stefano.stabellini@amd.com>
> 
> Debian unstable used in the Xen containers is actually bookworm.
> Switching to bookworm which is now stable means we are not basing our
> containers on a moving target anymore.
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
You should also update "containerize" script to keep it up-to-date to allow
making use of the newly created containers. With that fixed (no need for respin):
Reviewed-by: Michal Orzel <michal.orzel@amd.com>

~Michal
diff mbox series

Patch

diff --git a/automation/build/debian/unstable-arm64v8-arm32-gcc.dockerfile b/automation/build/debian/bookworm-arm64v8-arm32-gcc.dockerfile
similarity index 94%
rename from automation/build/debian/unstable-arm64v8-arm32-gcc.dockerfile
rename to automation/build/debian/bookworm-arm64v8-arm32-gcc.dockerfile
index 11860425a6..b3295c435e 100644
--- a/automation/build/debian/unstable-arm64v8-arm32-gcc.dockerfile
+++ b/automation/build/debian/bookworm-arm64v8-arm32-gcc.dockerfile
@@ -1,4 +1,4 @@ 
-FROM arm64v8/debian:unstable
+FROM arm64v8/debian:bookworm
 LABEL maintainer.name="The Xen Project" \
       maintainer.email="xen-devel@lists.xenproject.org"
 
diff --git a/automation/build/debian/unstable-arm64v8.dockerfile b/automation/build/debian/bookworm-arm64v8.dockerfile
similarity index 97%
rename from automation/build/debian/unstable-arm64v8.dockerfile
rename to automation/build/debian/bookworm-arm64v8.dockerfile
index b9b1587f88..a6d4246d96 100644
--- a/automation/build/debian/unstable-arm64v8.dockerfile
+++ b/automation/build/debian/bookworm-arm64v8.dockerfile
@@ -1,4 +1,4 @@ 
-FROM arm64v8/debian:unstable
+FROM arm64v8/debian:bookworm
 LABEL maintainer.name="The Xen Project" \
       maintainer.email="xen-devel@lists.xenproject.org"
 
diff --git a/automation/build/debian/unstable-cppcheck.dockerfile b/automation/build/debian/bookworm-cppcheck.dockerfile
similarity index 95%
rename from automation/build/debian/unstable-cppcheck.dockerfile
rename to automation/build/debian/bookworm-cppcheck.dockerfile
index adc192cea6..d64fb7b18c 100644
--- a/automation/build/debian/unstable-cppcheck.dockerfile
+++ b/automation/build/debian/bookworm-cppcheck.dockerfile
@@ -1,4 +1,4 @@ 
-FROM arm64v8/debian:unstable AS builder
+FROM arm64v8/debian:bookworm AS builder
 
 ENV DEBIAN_FRONTEND=noninteractive
 ENV CPPCHECK_VERSION=2.7
@@ -24,7 +24,7 @@  RUN curl -fsSLO https://github.com/danmar/cppcheck/archive/"$CPPCHECK_VERSION".t
         FILESDIR=/usr/share/cppcheck \
         HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
 
-FROM arm64v8/debian:unstable
+FROM arm64v8/debian:bookworm
 COPY --from=builder /usr/bin/cppcheck /usr/bin/cppcheck
 COPY --from=builder /usr/share/cppcheck /usr/share/cppcheck
 
diff --git a/automation/build/debian/unstable-i386.dockerfile b/automation/build/debian/bookworm-i386.dockerfile
similarity index 97%
rename from automation/build/debian/unstable-i386.dockerfile
rename to automation/build/debian/bookworm-i386.dockerfile
index 1c4928b09e..eb1c732f53 100644
--- a/automation/build/debian/unstable-i386.dockerfile
+++ b/automation/build/debian/bookworm-i386.dockerfile
@@ -1,4 +1,4 @@ 
-FROM i386/debian:unstable
+FROM i386/debian:bookworm
 LABEL maintainer.name="The Xen Project" \
       maintainer.email="xen-devel@lists.xenproject.org"
 
diff --git a/automation/build/debian/unstable.dockerfile b/automation/build/debian/bookworm.dockerfile
similarity index 98%
rename from automation/build/debian/unstable.dockerfile
rename to automation/build/debian/bookworm.dockerfile
index 6ef2878200..f8415425e6 100644
--- a/automation/build/debian/unstable.dockerfile
+++ b/automation/build/debian/bookworm.dockerfile
@@ -1,4 +1,4 @@ 
-FROM debian:unstable
+FROM debian:bookworm
 LABEL maintainer.name="The Xen Project" \
       maintainer.email="xen-devel@lists.xenproject.org"