Skip to content

Commit 6ac46d3

Browse files
authored
chore: update docker base image from bullseye to bookworm (#34)
* chore: update docker base image from bullseye to bookworm * chore: use qemu-system instead of qemu * refactor: fix dockerfile to have only 1x the debian release name as variable
1 parent 78e4c9c commit 6ac46d3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# syntax=docker/dockerfile:1
2-
ARG VERSION="bullseye-backports"
2+
ARG VERSION="bookworm-backports"
33
FROM debian:${VERSION}
4+
ARG VERSION
45

5-
6-
ENV VERSION="bullseye"
76
ENV PACKAGES="binfmt-support build-essential lsof sudo util-linux fdisk"
8-
ENV BPO="qemu qemu-user-static"
7+
ENV BPO="qemu-system qemu-user-static"
98

109
RUN set -ex \
1110
&& apt-get update \
1211
&& apt-get install --no-install-recommends --yes ${PACKAGES} \
13-
&& apt-get install --no-install-recommends --yes -t ${VERSION}-backports ${BPO} \
12+
&& apt-get install --no-install-recommends --yes -t ${VERSION} ${BPO} \
1413
&& apt autoremove \
1514
&& rm -rf /var/lib/apt/lists/*
1615

0 commit comments

Comments
 (0)