Switch to bookworm-slim.

Remove unnecessary packages.
This commit is contained in:
Daniel Ceregatti 2024-05-19 14:12:30 -07:00
parent 09700762ed
commit abceedf9c0
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM debian:bookworm
FROM debian:bookworm-slim
# Replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
@ -13,8 +13,6 @@ RUN sed -i /etc/apt/sources.list.d/debian.sources -e 's/Components: main/Compone
RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \
gwenhywfar-tools \
jq \
libsdl2-2.0-0 \
libcap2 \
libxml2-utils \
locales \
nano \

View file

@ -1,4 +1,4 @@
FROM debian:bookworm
FROM debian:bookworm-slim
# Replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh