Skip to content

Commit

Permalink
Install systemd-cryptsetup only in debian testing
Browse files Browse the repository at this point in the history
because it doesn't exist as a package in bookworm

Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Dec 13, 2024
1 parent 0da2727 commit d049aef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions images/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
squashfs-tools \
sudo \
systemd \
systemd-cryptsetup \
systemd-resolved \
systemd-sysv \
systemd-timesyncd \
Expand All @@ -115,10 +114,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
zerofree \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

###############################################################
#### bookworm vs testing differences ####
###############################################################
FROM common AS common-bookworm
FROM common AS common-testing
RUN apt-get update && apt-get install -y systemd-cryptsetup && apt-get clean && rm -rf /var/lib/apt/lists/*

###############################################################
#### Common to a Model ####
###############################################################
FROM common AS amd64-generic
FROM common-${FLAVOR_RELEASE} AS amd64-generic
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
grub2 \
Expand All @@ -130,7 +136,7 @@ RUN apt-get update \
zfsutils-linux \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

FROM common AS arm64-common
FROM common-${FLAVOR_RELEASE} AS arm64-common
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
grub-efi-arm64-bin \
Expand Down

0 comments on commit d049aef

Please sign in to comment.