From abceedf9c0aff24fae5f4efbd3b66c550b389356 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Sun, 19 May 2024 14:12:30 -0700 Subject: [PATCH] Switch to bookworm-slim. Remove unnecessary packages. --- server/Dockerfile | 4 +--- web/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 631ae44..f9f2cd7 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -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 \ diff --git a/web/Dockerfile b/web/Dockerfile index 49fa285..0012882 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -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