From bd5639e826297dfcfab49090459c1d974ae5d798 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:48:09 +0200 Subject: [PATCH] fix: move early instructions into `packages.sh` This is required because `adduser` is not available by default on Debian 13. Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> --- Dockerfile | 5 ----- target/scripts/build/packages.sh | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9dde71b..4064e4d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,6 @@ SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"] # ----------------------------------------------- COPY target/bin/sedfile /usr/local/bin/sedfile -RUN </dev/null + + chmod +x /usr/local/bin/sedfile + adduser --quiet --system --group --disabled-password --home /var/lib/clamav --no-create-home --uid 200 clamav } # Install third-party commands to /usr/local/bin