From d7b7e9a5b4366b1fc697264b1e075cb520e777d8 Mon Sep 17 00:00:00 2001 From: Ludy Date: Wed, 12 Nov 2025 08:30:51 +0100 Subject: [PATCH] Install Bash and create symlink for /bin/sh Added Bash installation and symlink to busybox. --- Dockerfile.fat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile.fat b/Dockerfile.fat index 6a1cc4def..e45fa6ca9 100644 --- a/Dockerfile.fat +++ b/Dockerfile.fat @@ -59,6 +59,10 @@ RUN printf '%s\n' \ 'https://dl-3.alpinelinux.org/alpine/edge/testing' \ > /etc/apk/repositories +# Bash + repositories +RUN apk add --no-cache bash && \ + ln -sf /bin/bash /bin/sh + RUN --mount=type=cache,target=/var/cache/apk \ apk upgrade --no-cache -a @@ -130,7 +134,8 @@ RUN python3 -m venv /opt/venv && \ # User permissions addgroup -S stirlingpdfgroup && adduser -S stirlingpdfuser -G stirlingpdfgroup && \ chown -R stirlingpdfuser:stirlingpdfgroup $HOME /scripts /usr/share/fonts/opentype/noto /configs /customFiles /pipeline /tmp/stirling-pdf && \ - chown stirlingpdfuser:stirlingpdfgroup /app.jar + chown stirlingpdfuser:stirlingpdfgroup /app.jar && \ + ln -sf /bin/busybox /bin/sh EXPOSE 8080/tcp # Set user and run command