-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> | ||
|
@@ -11,12 +11,12 @@ 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 && \ | ||
# Install useful utilities and general dependencies | ||
apt-get install -y udev drbd-utils jq net-tools iputils-ping iproute2 dnsutils netcat sysstat curl util-linux && \ | ||
apt-get install -y udev drbd-utils jq net-tools iputils-ping iproute2 dnsutils netcat-traditional sysstat curl util-linux && \ | ||
# Install dependencies for optional features \ | ||
apt-get install -y \ | ||
# cryptsetup: luks layer | ||
|