From f8117038ab0afc70b4c3ab7aa9bcc86627d9d511 Mon Sep 17 00:00:00 2001 From: Calvin Li <65045619+calvin-li-developer@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:46:00 -0400 Subject: [PATCH] update Dockerfiles --- Dockerfile | 2 +- Dockerfile.fat | 2 +- Dockerfile.ultra-lite | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5eccf86a7..7687ecb3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,10 +91,10 @@ RUN echo "@main https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/a fc-cache -f -v && \ chmod +x /scripts/* && \ chmod +x /scripts/init.sh && \ - /scripts/init.sh && \ # 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 && \ + /scripts/init.sh && \ chown stirlingpdfuser:stirlingpdfgroup /app.jar EXPOSE 8080/tcp diff --git a/Dockerfile.fat b/Dockerfile.fat index 6c82eb61e..435401562 100644 --- a/Dockerfile.fat +++ b/Dockerfile.fat @@ -103,10 +103,10 @@ RUN echo "@main https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/a fc-cache -f -v && \ chmod +x /scripts/* && \ chmod +x /scripts/init.sh && \ - /scripts/init.sh && \ # 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 && \ + /scripts/init.sh && \ chown stirlingpdfuser:stirlingpdfgroup /app.jar EXPOSE 8080/tcp diff --git a/Dockerfile.ultra-lite b/Dockerfile.ultra-lite index 979b76966..23ec4f0d8 100644 --- a/Dockerfile.ultra-lite +++ b/Dockerfile.ultra-lite @@ -41,9 +41,9 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et # User permissions mkdir -p /configs /logs /customFiles /usr/share/fonts/opentype/noto /tmp/stirling-pdf && \ chmod +x /scripts/*.sh && \ - /scripts/init-without-ocr.sh && \ addgroup -S stirlingpdfgroup && adduser -S stirlingpdfuser -G stirlingpdfgroup && \ chown -R stirlingpdfuser:stirlingpdfgroup $HOME /scripts /configs /customFiles /pipeline /tmp/stirling-pdf && \ + /scripts/init-without-ocr.sh && \ chown stirlingpdfuser:stirlingpdfgroup /app.jar # Set environment variables ENV ENDPOINTS_GROUPS_TO_REMOVE=CLI