Skip to content

Commit

Permalink
docker: switch base to debian 12
Browse files Browse the repository at this point in the history
Some tools that interact with the kernel are not happy when using old tools on
a new kernel. For example, turns out that resize2fs (the ext* resize tool)
refuses to resize a mounted FS on a new kernel because the FS there reports
some features it does not know about.

To fix, we use the latest debian stable release as our base image. Tools there
should be new enough for the future.

Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Mar 19, 2024
1 parent f04e000 commit f88490b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/drbd-reactor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DISTRO=bullseye
ARG DISTRO=bookworm
FROM debian:$DISTRO

ARG DRBD_REACTOR_VERSION
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/piraeus-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DISTRO=bullseye
ARG DISTRO=bookworm
FROM debian:$DISTRO

MAINTAINER Roland Kammerer <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/piraeus-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DISTRO=bullseye
ARG DISTRO=bookworm
FROM debian:$DISTRO

MAINTAINER Roland Kammerer <[email protected]>
Expand All @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y wget ca-certificates && apt-get clean
RUN apt-get install -y gnupg2 && \
wget -O- https://packages.linbit.com/package-signing-pubkey.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/linbit-keyring.gpg && \
# Enable contrib repos for zfsutils \
sed -r -i 's/^deb(.*)$/deb\1 contrib/' /etc/apt/sources.list && \
sed -i -r 's/^Components: (.*)$/Components: \1 contrib/' /etc/apt/sources.list.d/debian.sources && \
echo "deb http://packages.linbit.com/public" $DISTRO "misc" > /etc/apt/sources.list.d/linbit.list && \
echo "deb http://packages.linbit.com/public/staging" $DISTRO "misc" >> /etc/apt/sources.list.d/linbit.list && \
apt-get update && \
Expand Down

0 comments on commit f88490b

Please sign in to comment.