2026-06-09 20:40:36 UTC
1.06 GB
/dev/null
DEBIAN_FRONTENDnoninteractive
HOME/home/stirlingpdfuser
JAVA_CUSTOM_OPTS JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-25.0.2+10
LANGC.UTF-8
LANGUAGEen_US:en
LC_ALLC.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID1000
PUID1000
SAL_TMP/tmp/stirling-pdf/libre
STIRLING_AOT_ENABLEfalse
STIRLING_JVM_PROFILEbalanced
STIRLING_TEMPFILES_DIRECTORY/tmp/stirling-pdf
TEMP/tmp/stirling-pdf
TESS_BASE_PATH/usr/share/tesseract-ocr/5/tessdata
TMP/tmp/stirling-pdf
TMPDIR/tmp/stirling-pdf
UMASK022
VERSION_TAG2.12.0
_JVM_OPTS_BALANCED-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=4m -XX:G1PeriodicGCInterval=60000 -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true
_JVM_OPTS_PERFORMANCE-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational -XX:+UseCompactObjectHeaders -XX:+UseStringDeduplication -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true
[#000] sha256:817807f3c64e0b90b66edc7d90297f121cad2a7c2a3ee05a731557762f91e6c7 - 2.6% (28.4 MB)
[#001] sha256:e210113259fe04e17a86e74121503992a3e239e1ef81dd38e1e9e83b792202ab - 1.01% (10.9 MB)
[#002] sha256:766fe1bc7be93af9e8b8efe19761ab8d4c2c5288089a9c1971ac3eb4f1bf91ca - 5.5% (59.8 MB)
[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#004] sha256:96c4beb2895c684784cd3d998919c3e324aa19a17016f005449cecfd56eb34bd - 0.0% (2.23 KB)
[#005] sha256:1a39b9c33d5c3401b74e8ab22360c3a2b7d342a193965b58746048a30af156a1 - 30.04% (327 MB)
[#006] sha256:6b6bf5083727037a97d18297f0b59bcb501c15da0caaf859c9af538bbd2eacfc - 16.2% (176 MB)
[#007] sha256:9334512791ead8c1a06b5c3b8b2c0eea2a77a7b121d8770fd17065911f67c5ff - 0.11% (1.19 MB)
[#008] sha256:828f7c3f830e72cee257423c2e000c17bfecee222439b85442a5f8544ae0488f - 0.24% (2.64 MB)
[#009] sha256:f152e9f983a9478e96e199bf5db989e639dcf337fadff79c48409c1018f37eca - 1.45% (15.8 MB)
[#010] sha256:63937640605cb17fbe98bd8614f381d0f279adb771a39bbb22c31c8237499ef3 - 0.02% (235 KB)
[#011] sha256:ad92a323d6d3ac64039730a6e57ca9862c5ae27050b4ba0adaff01f4a091c644 - 10.54% (115 MB)
[#012] sha256:03a54a2b1d54500f769105f161389dbf7e61260de02bfaaf7984c1acef00b1d5 - 0.0% (17.5 KB)
[#013] sha256:b2f9b0659562b6576634754da32acd693f6e973afd306e35d23a0744e903b805 - 0.0% (3.71 KB)
[#014] sha256:e1d8a4a3669a14777783681087e11478cea497009e33ecb3034a7051df576f4b - 0.0% (289 Bytes)
[#015] sha256:e8b58c66ac7d83d331b8b9dbd4d6b3d19281cecdee3211a4e23ab8f44aeee6ff - 0.0% (50.4 KB)
[#016] sha256:3d294bf2c92abad3d14ebdb3957c0298ff13455d0542e6ea30ae9361bf1d1fc7 - 0.0% (93 Bytes)
[#017] sha256:2da2db9740e81d53fa63d11709adbea194d737a711871a871e7b9e44211783e8 - 19.06% (208 MB)
[#018] sha256:131f329afc5ac11769bc7a57ece7cc8c77baeadebfd709e304d0288b6bdbb1ed - 0.0% (96 Bytes)
[#019] sha256:131f329afc5ac11769bc7a57ece7cc8c77baeadebfd709e304d0288b6bdbb1ed - 0.0% (96 Bytes)
[#020] sha256:853cfc9df3e1c236efb8268ae39352f5db230ab3c47e37b953c7669a25618e46 - 10.41% (113 MB)
[#021] sha256:a0d5db47da63bfcb06d8cbef7bb217537e81d138f5b568470514734b029b50cd - 0.0% (3.28 KB)
[#022] sha256:6f719220c00b18ebd274cefd6e47883df123d4312e7e49c4a2d1f704e35b568a - 0.01% (95.2 KB)
[#023] sha256:b1e2c6722f4e169a85984761db8b8a963542544f08bf68c62139c3588fe82d20 - 2.8% (30.4 MB)
[#024] sha256:a270a03fe3768e668d5768a51e8555125178753ef5ed215d151189ef3ce7cb87 - 0.01% (117 KB)
[#025] sha256:d0ba04d307dc83e16e8dd2b83f2b7aea927df25043ef40bd14491d913aadb9af - 0.0% (148 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2026-02-23 17:17:53 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-02-23 17:17:53 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2026-02-23 17:17:53 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-02-23 17:17:55 UTC/bin/sh -c #(nop) ADD file:3f78aa860931e0853077f09eb31eddbeeef8a9dd70977305b4876aa176770721 in /
2026-02-23 17:17:56 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-03-17 01:23:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2026-03-17 01:23:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-03-17 01:23:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2026-03-17 01:23:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2026-03-17 01:23:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-25.0.2+10
2026-03-17 01:23:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='d6c89e08f42be94cd55eab20190958a35b993625018a3ac59cb3d16d8445cf98'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_x64_linux_hotspot_25.0.2_10.tar.gz'; ;; arm64) ESUM='e90ad4a618a0228a2126e7c6abfbc0729e2649d7d72cef45fd640239866eb050'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_aarch64_linux_hotspot_25.0.2_10.tar.gz'; ;; ppc64el) ESUM='1cc773ab86cbdbb02732398ad4550950db859fb08f8eb6548c8c5e188f697455'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_ppc64le_linux_hotspot_25.0.2_10.tar.gz'; ;; riscv64) ESUM='0be0aa0a9578d229c2de2e9e05741d1c0726185a2017f8ce2249989f79dc9562'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_riscv64_linux_hotspot_25.0.2_10.tar.gz'; ;; s390x) ESUM='ccb977223490643318230b53107aaa23c136d2793b5174dc38d4b0daab9a18e3'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_s390x_linux_hotspot_25.0.2_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget gnupg; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2026-03-17 01:23:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2026-03-17 01:23:52 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2026-03-17 01:23:52 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2026-03-19 18:10:33 UTC (buildkit.dockerfile.v0)SHELL [/bin/bash -o pipefail -c]
2026-03-19 18:10:33 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 LC_ALL=C.UTF-8 TESS_BASE_PATH=/usr/share/tesseract-ocr/5/tessdata
2026-03-19 18:10:33 UTC (buildkit.dockerfile.v0)ARG UNOSERVER_VERSION=3.6
2026-03-19 18:10:33 UTC (buildkit.dockerfile.v0)RUN |1 UNOSERVER_VERSION=3.6 /bin/bash -o pipefail -c set -eux; apt-get update; apt-get install -y --no-install-recommends software-properties-common; add-apt-repository -y ppa:libreoffice/ppa; apt-get update; apt-get install -y --no-install-recommends ca-certificates tzdata tini bash fontconfig curl ffmpeg poppler-utils fontforge gosu unpaper pngquant fonts-dejavu fonts-liberation2 fonts-crosextra-caladea fonts-crosextra-carlito fonts-noto-core fonts-noto-mono fonts-noto-extra fonts-noto-cjk poppler-data fonts-freefont-ttf fonts-terminus python3 python3-uno python3-packaging tesseract-ocr tesseract-ocr-eng tesseract-ocr-deu tesseract-ocr-fra tesseract-ocr-por tesseract-ocr-chi-sim tesseract-ocr-osd libcairo2 libpango-1.0-0 libpangoft2-1.0-0 libgdk-pixbuf-2.0-0 libfreetype6 libfontconfig1 libx11-6 libxt6 libxext6 libxrender1 libxtst6 libxi6 libxinerama1 libxkbcommon0 libsm6 libice6 libegl1 libgl1 libopengl0 libdbus-1-3 libglib2.0-0 libnss3 libasound2t64 libxcomposite1 libxrandr2 xvfb x11-utils coreutils libreoffice-writer-nogui libreoffice-calc-nogui libreoffice-impress-nogui libreoffice-draw-nogui libreoffice-base-nogui libreoffice-java-common ; libreoffice --version; soffice --version 2>/dev/null || true; /usr/lib/libreoffice/program/soffice.bin --headless --convert-to pdf /dev/null 2>/dev/null || true; fc-cache -f -v 2>&1 | awk 'NR <= 20'; apt-get remove --purge -y software-properties-common || true; apt-get autoremove --purge -y || true; rm -rf /var/lib/apt/lists/*; rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/lintian/* /usr/share/linda/* /usr/share/icons/* /usr/share/themes/* /usr/share/javascript/* /usr/share/gtk-3.0/* /usr/share/fontforge/pixmaps /usr/share/fontforge/osx /usr/share/fontforge/cidmap /usr/share/fontforge/prefs /usr/share/liblangtag/* /usr/share/tcltk/* /usr/share/python-wheels/* /usr/share/glib-2.0/schemas/* /usr/share/mime/* /usr/share/xml/iso-codes /usr/share/GConf /usr/share/bash-completion /usr/share/zsh /usr/share/libmysofa /usr/share/alsa /usr/share/iso-codes /usr/share/perl5 /usr/share/libthai /usr/share/libexttextcat /usr/share/openal /usr/share/gcc; find /usr/share/locale -mindepth 1 -maxdepth 1 -type d ! -name 'en*' -exec rm -rf {} + 2>/dev/null || true; rm -rf /usr/share/i18n/locales /usr/share/i18n/charmaps; rm -rf /usr/lib/libreoffice/share/gallery /usr/lib/libreoffice/share/template /usr/lib/libreoffice/share/wizards /usr/lib/libreoffice/share/autotext /usr/lib/libreoffice/help /usr/lib/libreoffice/share/config/images_*.zip /usr/lib/libreoffice/share/basic /usr/lib/libreoffice/share/Scripts /usr/lib/libreoffice/share/autocorr /usr/lib/libreoffice/share/classification /usr/lib/libreoffice/share/wordbook /usr/lib/libreoffice/share/fingerprint /usr/lib/libreoffice/share/xdg /usr/lib/libreoffice/share/numbertext /usr/lib/libreoffice/share/shell /usr/lib/libreoffice/share/palette /usr/lib/libreoffice/share/theme_definitions /usr/lib/libreoffice/share/xslt /usr/lib/libreoffice/share/labels /usr/lib/libreoffice/share/dtd /usr/lib/libreoffice/share/tipoftheday /usr/lib/libreoffice/share/toolbarmode /usr/lib/libreoffice/share/psprint /usr/lib/libreoffice/CREDITS.fodt /usr/lib/libreoffice/LICENSE.html; rm -rf /usr/lib/libreoffice/share/extensions/wiki-publisher /usr/lib/libreoffice/share/extensions/nlpsolver /usr/lib/libreoffice/share/extensions/dict-* 2>/dev/null || true; rm -rf /usr/lib/libreoffice/program/libdba* /usr/lib/libreoffice/program/libdbahsql* /usr/lib/libreoffice/program/libdbu* /usr/lib/libreoffice/program/libreport* 2>/dev/null || true; rm -rf /usr/lib/python3.12/test /usr/lib/python3.12/idlelib /usr/lib/python3.12/tkinter /usr/lib/python3.12/lib2to3 /usr/lib/python3.12/pydoc_data; rm -rf /usr/lib/python3/dist-packages/scipy /usr/lib/python3/dist-packages/sympy /usr/lib/python3/dist-packages/mpmath; rm -rf /usr/lib/python3/dist-packages/cffi /usr/lib/python3/dist-packages/cffi-*.dist-info /usr/lib/python3/dist-packages/_cffi_backend*.so /usr/lib/python3/dist-packages/_cffi_backend*.cpython*.so 2>/dev/null || true; find /usr/lib -name '*.so*' -type f -not -path '*/jvm/*' -not -path '*/libreoffice/*' -exec strip --strip-unneeded {} + 2>/dev/null || true; MULTIARCH_LIBDIR=$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null || find /usr/lib -maxdepth 1 -type d -name '*-linux-gnu' | head -1); rm -f "${MULTIARCH_LIBDIR}"/libLLVM*.so* "${MULTIARCH_LIBDIR}"/libgallium*.so* 2>/dev/null || true; find /usr/lib/python3* -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true; find /usr/lib/python3* \( -name '*.pyc' -o -name '*.pyi' \) -delete 2>/dev/null || true; rm -rf /usr/share/bug /usr/share/lintian /usr/share/linda /var/lib/dpkg/info/*.list /var/lib/dpkg/info/*.md5sums /var/lib/dpkg/info/*.conffiles /var/lib/dpkg/info/*.postinst /var/lib/dpkg/info/*.preinst /var/lib/dpkg/info/*.prerm /var/lib/dpkg/info/*.postrm /var/lib/dpkg/info/*.triggers /var/lib/dpkg/info/*.shlibs /var/lib/dpkg/info/*.symbols /var/lib/dpkg/info/*.templates /var/log/dpkg.log /var/log/apt/* /usr/local/share/ghostscript/*/doc /usr/local/share/ghostscript/*/examples /usr/share/ImageMagick-*/doc /usr/share/ImageMagick-*/www; rm -rf /usr/share/tesseract-ocr/*/tessdata/tessconfigs; find /usr/share/fonts/truetype/noto -type f ! -name '*Regular*' -delete 2>/dev/null || true; find /usr/share/fonts/opentype -type f ! -name '*Regular*' -delete 2>/dev/null || true; find /usr/share/fonts/truetype -name '*DejaVu*' ! -name '*-Regular*' ! -name '*-Bold*' ! -name '*Bold.ttf' ! -name 'DejaVuSans.ttf' ! -name 'DejaVuSerif.ttf' ! -name 'DejaVuSansMono.ttf' -type f -delete 2>/dev/null || true; find /usr/share/fonts -type d -empty -delete 2>/dev/null || true; GCONV_DIR=$(find /usr/lib -type d -name gconv 2>/dev/null | head -1); if [ -n "$GCONV_DIR" ] && [ -d "$GCONV_DIR" ]; then mkdir -p /tmp/gconv-keep; for mod in UTF-8.so UTF-16.so UTF-32.so UTF-7.so ISO8859-1.so ISO8859-15.so ISO8859-2.so ISO8859-9.so UNICODE.so CP1252.so CP1251.so CP1250.so EUC-JP.so EUC-KR.so EUC-CN.so SHIFT_JIS.so GB18030.so BIG5.so gconv-modules gconv-modules.d gconv-modules.cache; do [ -e "$GCONV_DIR/$mod" ] && cp -a "$GCONV_DIR/$mod" /tmp/gconv-keep/ 2>/dev/null || true; done; rm -rf "$GCONV_DIR"/*; cp -a /tmp/gconv-keep/* "$GCONV_DIR/" 2>/dev/null || true; rm -rf /tmp/gconv-keep; fi; rm -rf /var/cache/fontconfig/* /tmp/* # buildkit
2026-03-19 19:00:45 UTC (buildkit.dockerfile.v0)COPY /opt/calibre /opt/calibre # buildkit
2026-03-19 18:13:20 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/qpdf /usr/bin/qpdf # buildkit
2026-03-19 18:13:20 UTC (buildkit.dockerfile.v0)COPY /magick-export/ / # buildkit
2026-03-19 18:15:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/gs /usr/local/bin/gs # buildkit
2026-03-19 18:15:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/ghostscript /usr/local/share/ghostscript # buildkit
2026-03-19 18:15:44 UTC (buildkit.dockerfile.v0)COPY /opt/venv /opt/venv # buildkit
2026-03-19 19:00:48 UTC (buildkit.dockerfile.v0)RUN |1 UNOSERVER_VERSION=3.6 /bin/bash -o pipefail -c ldconfig /usr/local/lib && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import cffi; print('cffi OK:', cffi.__version__)" && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import cv2; print('OpenCV', cv2.__version__)" && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import ocrmypdf; print('ocrmypdf OK')" && find /opt/venv -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true # buildkit
2026-03-19 19:00:48 UTC (buildkit.dockerfile.v0)ARG PUID=1000
2026-03-19 19:00:48 UTC (buildkit.dockerfile.v0)ARG PGID=1000
2026-03-19 19:00:49 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; if ! getent group stirlingpdfgroup >/dev/null 2>&1; then groupadd -g "${PGID}" stirlingpdfgroup 2>/dev/null || groupadd stirlingpdfgroup; fi; if ! id -u stirlingpdfuser >/dev/null 2>&1; then useradd -m -u "${PUID}" -g stirlingpdfgroup -d /home/stirlingpdfuser -s /bin/bash stirlingpdfuser 2>/dev/null || useradd -m -g stirlingpdfgroup -d /home/stirlingpdfuser -s /bin/bash stirlingpdfuser; fi; ln -sf /usr/sbin/gosu /usr/local/bin/su-exec # buildkit
2026-03-19 19:00:49 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; mkdir -p /configs /configs/cache /configs/heap_dumps /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders /tmp/stirling-pdf/heap_dumps; chown -R stirlingpdfuser:stirlingpdfgroup /home/stirlingpdfuser /configs /logs /customFiles /pipeline /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf/heap_dumps # buildkit
2026-03-19 19:00:51 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; ln -sf /opt/calibre/ebook-convert /usr/bin/ebook-convert; ln -sf /opt/venv/bin/unoconvert /usr/local/bin/unoconvert; ln -sf /opt/venv/bin/unoserver /usr/local/bin/unoserver; ln -sf /opt/venv/bin/ocrmypdf /usr/local/bin/ocrmypdf; ln -sf /opt/venv/bin/weasyprint /usr/local/bin/weasyprint; ln -sf /opt/venv/bin/unoping /usr/local/bin/unoping; fc-cache -f # buildkit
2026-03-19 19:00:51 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Stirling-PDF Base org.opencontainers.image.description=Pre-built base image with Calibre, Ghostscript, QPDF, ImageMagick, LibreOffice, OCRmyPDF and dependencies org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF org.opencontainers.image.licenses=MIT org.opencontainers.image.vendor=Stirling-Tools org.opencontainers.image.url=https://www.stirlingpdf.com org.opencontainers.image.documentation=https://docs.stirlingpdf.com maintainer=Stirling-Tools org.opencontainers.image.authors=Stirling-Tools
2026-06-09 20:33:17 UTC (buildkit.dockerfile.v0)ARG VERSION_TAG=2.12.0
2026-06-09 20:33:17 UTC (buildkit.dockerfile.v0)WORKDIR /app
2026-06-09 20:40:34 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/dependencies/ /app/ # buildkit
2026-06-09 20:40:33 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/spring-boot-loader/ /app/ # buildkit
2026-06-09 20:40:33 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/snapshot-dependencies/ /app/ # buildkit
2026-06-09 20:40:34 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/application/ /app/ # buildkit
2026-06-09 20:40:14 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /app/build/libs/restart-helper.jar /restart-helper.jar # buildkit
2026-06-09 20:32:58 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 scripts/ /scripts/ # buildkit
2026-06-09 20:40:34 UTC (buildkit.dockerfile.v0)COPY app/core/src/main/resources/static/fonts/*.ttf /usr/share/fonts/truetype/ # buildkit
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)RUN |1 VERSION_TAG=2.12.0 /bin/bash -o pipefail -c set -eux; chmod +x /scripts/*; ln -s /logs /app/logs; ln -s /configs /app/configs; ln -s /customFiles /app/customFiles; ln -s /pipeline /app/pipeline; ln -s /storage /app/storage; chown -h stirlingpdfuser:stirlingpdfgroup /app/logs /app/configs /app/customFiles /app/pipeline /app/storage; chown stirlingpdfuser:stirlingpdfgroup /app; chmod 750 /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf/heap_dumps; fc-cache -f # buildkit
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)RUN |1 VERSION_TAG=2.12.0 /bin/bash -o pipefail -c echo "${VERSION_TAG:-dev}" > /etc/stirling_version # buildkit
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)ENV VERSION_TAG=2.12.0 STIRLING_AOT_ENABLE=false STIRLING_JVM_PROFILE=balanced _JVM_OPTS_BALANCED=-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=4m -XX:G1PeriodicGCInterval=60000 -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true _JVM_OPTS_PERFORMANCE=-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational -XX:+UseCompactObjectHeaders -XX:+UseStringDeduplication -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true JAVA_CUSTOM_OPTS= HOME=/home/stirlingpdfuser PUID=1000 PGID=1000 UMASK=022 STIRLING_TEMPFILES_DIRECTORY=/tmp/stirling-pdf TMPDIR=/tmp/stirling-pdf TEMP=/tmp/stirling-pdf TMP=/tmp/stirling-pdf DBUS_SESSION_BUS_ADDRESS=/dev/null SAL_TMP=/tmp/stirling-pdf/libre
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Stirling-PDF org.opencontainers.image.description=Full version with Calibre, LibreOffice, Tesseract, OCRmyPDF org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF org.opencontainers.image.licenses=MIT org.opencontainers.image.vendor=Stirling-Tools org.opencontainers.image.url=https://www.stirlingpdf.com org.opencontainers.image.documentation=https://docs.stirlingpdf.com maintainer=Stirling-Tools org.opencontainers.image.authors=Stirling-Tools org.opencontainers.image.version=2.12.0 org.opencontainers.image.keywords=PDF, manipulation, API, Spring Boot, React
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)EXPOSE [8080/tcp]
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGTERM
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)HEALTHCHECK {Test:[CMD-SHELL curl -fs --max-time 10 http://localhost:8080${SYSTEM_ROOTURIPATH:-''}/api/v1/info/status || exit 1] Interval:30s Timeout:15s StartPeriod:2m0s StartInterval:0s Retries:5}
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["tini" "--" "/scripts/init.sh"]
2026-06-09 20:40:36 UTC (buildkit.dockerfile.v0)CMD []
2026-06-09 21:12:13 UTC
1.02 GB
/dev/null
DEBIAN_FRONTENDnoninteractive
HOME/home/stirlingpdfuser
JAVA_CUSTOM_OPTS JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-25.0.2+10
LANGC.UTF-8
LANGUAGEen_US:en
LC_ALLC.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID1000
PUID1000
SAL_TMP/tmp/stirling-pdf/libre
STIRLING_AOT_ENABLEfalse
STIRLING_JVM_PROFILEbalanced
STIRLING_TEMPFILES_DIRECTORY/tmp/stirling-pdf
TEMP/tmp/stirling-pdf
TESS_BASE_PATH/usr/share/tesseract-ocr/5/tessdata
TMP/tmp/stirling-pdf
TMPDIR/tmp/stirling-pdf
UMASK022
VERSION_TAG2.12.0
_JVM_OPTS_BALANCED-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=4m -XX:G1PeriodicGCInterval=60000 -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true
_JVM_OPTS_PERFORMANCE-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational -XX:+UseCompactObjectHeaders -XX:+UseStringDeduplication -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true
[#000] sha256:86790fc5660dcd86928b849ae0826aba701bf9e005e92c8f9e06c917e82c87f7 - 2.63% (27.5 MB)
[#001] sha256:2b12c6640853e67ef0d9a7a4d247818668c2edf45a9334c716bdd25d19d4cbd7 - 1.05% (10.9 MB)
[#002] sha256:a1744d0bb12d98f6d6a2f9273c5c27f3bbaf85750ec288690fd03450eb825c99 - 5.62% (58.8 MB)
[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#004] sha256:67820c22223e552e861de5238ee4bce7a26990c6e01f12bbcc141ab8a6a99f19 - 0.0% (2.23 KB)
[#005] sha256:ecfe2b80c845f0477fad3e46729421f92bd6ea58e3282f1d3a9d59ce80d8de18 - 30.39% (318 MB)
[#006] sha256:33db694b8296279b6f093a2c0b1cea936fb9e0f1ef035c22ef30b47ba6956c92 - 16.38% (171 MB)
[#007] sha256:b4ccd6bd11d1ad694c04c7b92ed4fe7bf4d09c4e639c9107585fe9f5ac1238ac - 0.11% (1.13 MB)
[#008] sha256:b242528103f0bec1c1825f138d39e897cbeff3065a85a4537062168eae6ad8c4 - 0.25% (2.63 MB)
[#009] sha256:85cfa1aff723ef16e80272a46d12bdd4037bfec9ce3a32c8e54278dd98de6044 - 1.51% (15.8 MB)
[#010] sha256:63937640605cb17fbe98bd8614f381d0f279adb771a39bbb22c31c8237499ef3 - 0.02% (235 KB)
[#011] sha256:6604d4970349e557c9cd3d3d1d75e2ac0ae0924e4bd5ae47497bdbb585c0625e - 8.43% (88.2 MB)
[#012] sha256:e634d4b97cd4365f9329a98d6ce205f5d364d46b377388a6e9a7e879fa63be54 - 0.0% (17.8 KB)
[#013] sha256:3e85ee1f4e0dbebeafe466ae3c24b23f664a606903ab9697da1f71910c4b8f70 - 0.0% (3.71 KB)
[#014] sha256:3255e4c3d18ce834b84160887177ab62182841a08d1367806ede25ba789e1293 - 0.0% (289 Bytes)
[#015] sha256:07bfc0d777309b85e7778385366d4e26b502a46f59bf993bccf55ad03c273f85 - 0.0% (50.5 KB)
[#016] sha256:67df4b75164e70700ffff71301888cd433785057fdd4eea2d17a9d25a0fdf3e2 - 0.0% (93 Bytes)
[#017] sha256:2da2db9740e81d53fa63d11709adbea194d737a711871a871e7b9e44211783e8 - 19.84% (208 MB)
[#018] sha256:131f329afc5ac11769bc7a57ece7cc8c77baeadebfd709e304d0288b6bdbb1ed - 0.0% (96 Bytes)
[#019] sha256:131f329afc5ac11769bc7a57ece7cc8c77baeadebfd709e304d0288b6bdbb1ed - 0.0% (96 Bytes)
[#020] sha256:7ce2b976c5a39d31933d7c6c6b0bc06747ae298c7fe2699fd4feedfd24210215 - 10.84% (113 MB)
[#021] sha256:a0d5db47da63bfcb06d8cbef7bb217537e81d138f5b568470514734b029b50cd - 0.0% (3.28 KB)
[#022] sha256:6f719220c00b18ebd274cefd6e47883df123d4312e7e49c4a2d1f704e35b568a - 0.01% (95.2 KB)
[#023] sha256:39a85f83f9882ac9a5c6667668a3aa887910e3608c1dd4c40bd8ee9c48c8f456 - 2.91% (30.4 MB)
[#024] sha256:1918550083ad846f713ff0794962ecae5bd66881052614bfac100d9ffbaf1cd3 - 0.01% (117 KB)
[#025] sha256:3c0aaf245e5bb5ed66f672cf36026e046cb7bbc867b4516ccfc303422fadaa5a - 0.0% (149 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2026-02-23 17:19:30 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-02-23 17:19:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2026-02-23 17:19:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-02-23 17:19:32 UTC/bin/sh -c #(nop) ADD file:2763d61bc43bd178306ae0d4151c2477166ebf199b8d7294d9ea410f9891993f in /
2026-02-23 17:19:33 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-03-17 01:25:08 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2026-03-17 01:25:08 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-03-17 01:25:08 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2026-03-17 01:25:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
2026-03-17 01:25:08 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-25.0.2+10
2026-03-17 01:25:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='d6c89e08f42be94cd55eab20190958a35b993625018a3ac59cb3d16d8445cf98'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_x64_linux_hotspot_25.0.2_10.tar.gz'; ;; arm64) ESUM='e90ad4a618a0228a2126e7c6abfbc0729e2649d7d72cef45fd640239866eb050'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_aarch64_linux_hotspot_25.0.2_10.tar.gz'; ;; ppc64el) ESUM='1cc773ab86cbdbb02732398ad4550950db859fb08f8eb6548c8c5e188f697455'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_ppc64le_linux_hotspot_25.0.2_10.tar.gz'; ;; riscv64) ESUM='0be0aa0a9578d229c2de2e9e05741d1c0726185a2017f8ce2249989f79dc9562'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_riscv64_linux_hotspot_25.0.2_10.tar.gz'; ;; s390x) ESUM='ccb977223490643318230b53107aaa23c136d2793b5174dc38d4b0daab9a18e3'; BINARY_URL='https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.2%2B10/OpenJDK25U-jre_s390x_linux_hotspot_25.0.2_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget gnupg; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
2026-03-17 01:25:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2026-03-17 01:25:30 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2026-03-17 01:25:30 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2026-03-19 18:26:31 UTC (buildkit.dockerfile.v0)SHELL [/bin/bash -o pipefail -c]
2026-03-19 18:26:31 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 LC_ALL=C.UTF-8 TESS_BASE_PATH=/usr/share/tesseract-ocr/5/tessdata
2026-03-19 18:26:31 UTC (buildkit.dockerfile.v0)ARG UNOSERVER_VERSION=3.6
2026-03-19 18:26:31 UTC (buildkit.dockerfile.v0)RUN |1 UNOSERVER_VERSION=3.6 /bin/bash -o pipefail -c set -eux; apt-get update; apt-get install -y --no-install-recommends software-properties-common; add-apt-repository -y ppa:libreoffice/ppa; apt-get update; apt-get install -y --no-install-recommends ca-certificates tzdata tini bash fontconfig curl ffmpeg poppler-utils fontforge gosu unpaper pngquant fonts-dejavu fonts-liberation2 fonts-crosextra-caladea fonts-crosextra-carlito fonts-noto-core fonts-noto-mono fonts-noto-extra fonts-noto-cjk poppler-data fonts-freefont-ttf fonts-terminus python3 python3-uno python3-packaging tesseract-ocr tesseract-ocr-eng tesseract-ocr-deu tesseract-ocr-fra tesseract-ocr-por tesseract-ocr-chi-sim tesseract-ocr-osd libcairo2 libpango-1.0-0 libpangoft2-1.0-0 libgdk-pixbuf-2.0-0 libfreetype6 libfontconfig1 libx11-6 libxt6 libxext6 libxrender1 libxtst6 libxi6 libxinerama1 libxkbcommon0 libsm6 libice6 libegl1 libgl1 libopengl0 libdbus-1-3 libglib2.0-0 libnss3 libasound2t64 libxcomposite1 libxrandr2 xvfb x11-utils coreutils libreoffice-writer-nogui libreoffice-calc-nogui libreoffice-impress-nogui libreoffice-draw-nogui libreoffice-base-nogui libreoffice-java-common ; libreoffice --version; soffice --version 2>/dev/null || true; /usr/lib/libreoffice/program/soffice.bin --headless --convert-to pdf /dev/null 2>/dev/null || true; fc-cache -f -v 2>&1 | awk 'NR <= 20'; apt-get remove --purge -y software-properties-common || true; apt-get autoremove --purge -y || true; rm -rf /var/lib/apt/lists/*; rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/lintian/* /usr/share/linda/* /usr/share/icons/* /usr/share/themes/* /usr/share/javascript/* /usr/share/gtk-3.0/* /usr/share/fontforge/pixmaps /usr/share/fontforge/osx /usr/share/fontforge/cidmap /usr/share/fontforge/prefs /usr/share/liblangtag/* /usr/share/tcltk/* /usr/share/python-wheels/* /usr/share/glib-2.0/schemas/* /usr/share/mime/* /usr/share/xml/iso-codes /usr/share/GConf /usr/share/bash-completion /usr/share/zsh /usr/share/libmysofa /usr/share/alsa /usr/share/iso-codes /usr/share/perl5 /usr/share/libthai /usr/share/libexttextcat /usr/share/openal /usr/share/gcc; find /usr/share/locale -mindepth 1 -maxdepth 1 -type d ! -name 'en*' -exec rm -rf {} + 2>/dev/null || true; rm -rf /usr/share/i18n/locales /usr/share/i18n/charmaps; rm -rf /usr/lib/libreoffice/share/gallery /usr/lib/libreoffice/share/template /usr/lib/libreoffice/share/wizards /usr/lib/libreoffice/share/autotext /usr/lib/libreoffice/help /usr/lib/libreoffice/share/config/images_*.zip /usr/lib/libreoffice/share/basic /usr/lib/libreoffice/share/Scripts /usr/lib/libreoffice/share/autocorr /usr/lib/libreoffice/share/classification /usr/lib/libreoffice/share/wordbook /usr/lib/libreoffice/share/fingerprint /usr/lib/libreoffice/share/xdg /usr/lib/libreoffice/share/numbertext /usr/lib/libreoffice/share/shell /usr/lib/libreoffice/share/palette /usr/lib/libreoffice/share/theme_definitions /usr/lib/libreoffice/share/xslt /usr/lib/libreoffice/share/labels /usr/lib/libreoffice/share/dtd /usr/lib/libreoffice/share/tipoftheday /usr/lib/libreoffice/share/toolbarmode /usr/lib/libreoffice/share/psprint /usr/lib/libreoffice/CREDITS.fodt /usr/lib/libreoffice/LICENSE.html; rm -rf /usr/lib/libreoffice/share/extensions/wiki-publisher /usr/lib/libreoffice/share/extensions/nlpsolver /usr/lib/libreoffice/share/extensions/dict-* 2>/dev/null || true; rm -rf /usr/lib/libreoffice/program/libdba* /usr/lib/libreoffice/program/libdbahsql* /usr/lib/libreoffice/program/libdbu* /usr/lib/libreoffice/program/libreport* 2>/dev/null || true; rm -rf /usr/lib/python3.12/test /usr/lib/python3.12/idlelib /usr/lib/python3.12/tkinter /usr/lib/python3.12/lib2to3 /usr/lib/python3.12/pydoc_data; rm -rf /usr/lib/python3/dist-packages/scipy /usr/lib/python3/dist-packages/sympy /usr/lib/python3/dist-packages/mpmath; rm -rf /usr/lib/python3/dist-packages/cffi /usr/lib/python3/dist-packages/cffi-*.dist-info /usr/lib/python3/dist-packages/_cffi_backend*.so /usr/lib/python3/dist-packages/_cffi_backend*.cpython*.so 2>/dev/null || true; find /usr/lib -name '*.so*' -type f -not -path '*/jvm/*' -not -path '*/libreoffice/*' -exec strip --strip-unneeded {} + 2>/dev/null || true; MULTIARCH_LIBDIR=$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null || find /usr/lib -maxdepth 1 -type d -name '*-linux-gnu' | head -1); rm -f "${MULTIARCH_LIBDIR}"/libLLVM*.so* "${MULTIARCH_LIBDIR}"/libgallium*.so* 2>/dev/null || true; find /usr/lib/python3* -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true; find /usr/lib/python3* \( -name '*.pyc' -o -name '*.pyi' \) -delete 2>/dev/null || true; rm -rf /usr/share/bug /usr/share/lintian /usr/share/linda /var/lib/dpkg/info/*.list /var/lib/dpkg/info/*.md5sums /var/lib/dpkg/info/*.conffiles /var/lib/dpkg/info/*.postinst /var/lib/dpkg/info/*.preinst /var/lib/dpkg/info/*.prerm /var/lib/dpkg/info/*.postrm /var/lib/dpkg/info/*.triggers /var/lib/dpkg/info/*.shlibs /var/lib/dpkg/info/*.symbols /var/lib/dpkg/info/*.templates /var/log/dpkg.log /var/log/apt/* /usr/local/share/ghostscript/*/doc /usr/local/share/ghostscript/*/examples /usr/share/ImageMagick-*/doc /usr/share/ImageMagick-*/www; rm -rf /usr/share/tesseract-ocr/*/tessdata/tessconfigs; find /usr/share/fonts/truetype/noto -type f ! -name '*Regular*' -delete 2>/dev/null || true; find /usr/share/fonts/opentype -type f ! -name '*Regular*' -delete 2>/dev/null || true; find /usr/share/fonts/truetype -name '*DejaVu*' ! -name '*-Regular*' ! -name '*-Bold*' ! -name '*Bold.ttf' ! -name 'DejaVuSans.ttf' ! -name 'DejaVuSerif.ttf' ! -name 'DejaVuSansMono.ttf' -type f -delete 2>/dev/null || true; find /usr/share/fonts -type d -empty -delete 2>/dev/null || true; GCONV_DIR=$(find /usr/lib -type d -name gconv 2>/dev/null | head -1); if [ -n "$GCONV_DIR" ] && [ -d "$GCONV_DIR" ]; then mkdir -p /tmp/gconv-keep; for mod in UTF-8.so UTF-16.so UTF-32.so UTF-7.so ISO8859-1.so ISO8859-15.so ISO8859-2.so ISO8859-9.so UNICODE.so CP1252.so CP1251.so CP1250.so EUC-JP.so EUC-KR.so EUC-CN.so SHIFT_JIS.so GB18030.so BIG5.so gconv-modules gconv-modules.d gconv-modules.cache; do [ -e "$GCONV_DIR/$mod" ] && cp -a "$GCONV_DIR/$mod" /tmp/gconv-keep/ 2>/dev/null || true; done; rm -rf "$GCONV_DIR"/*; cp -a /tmp/gconv-keep/* "$GCONV_DIR/" 2>/dev/null || true; rm -rf /tmp/gconv-keep; fi; rm -rf /var/cache/fontconfig/* /tmp/* # buildkit
2026-03-19 19:44:49 UTC (buildkit.dockerfile.v0)COPY /opt/calibre /opt/calibre # buildkit
2026-03-19 19:41:38 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/qpdf /usr/bin/qpdf # buildkit
2026-03-19 19:41:38 UTC (buildkit.dockerfile.v0)COPY /magick-export/ / # buildkit
2026-03-19 19:00:13 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/gs /usr/local/bin/gs # buildkit
2026-03-19 18:15:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/ghostscript /usr/local/share/ghostscript # buildkit
2026-03-19 18:12:50 UTC (buildkit.dockerfile.v0)COPY /opt/venv /opt/venv # buildkit
2026-03-19 19:45:31 UTC (buildkit.dockerfile.v0)RUN |1 UNOSERVER_VERSION=3.6 /bin/bash -o pipefail -c ldconfig /usr/local/lib && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import cffi; print('cffi OK:', cffi.__version__)" && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import cv2; print('OpenCV', cv2.__version__)" && PYTHONDONTWRITEBYTECODE=1 /opt/venv/bin/python -c "import ocrmypdf; print('ocrmypdf OK')" && find /opt/venv -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true # buildkit
2026-03-19 19:45:31 UTC (buildkit.dockerfile.v0)ARG PUID=1000
2026-03-19 19:45:31 UTC (buildkit.dockerfile.v0)ARG PGID=1000
2026-03-19 19:45:32 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; if ! getent group stirlingpdfgroup >/dev/null 2>&1; then groupadd -g "${PGID}" stirlingpdfgroup 2>/dev/null || groupadd stirlingpdfgroup; fi; if ! id -u stirlingpdfuser >/dev/null 2>&1; then useradd -m -u "${PUID}" -g stirlingpdfgroup -d /home/stirlingpdfuser -s /bin/bash stirlingpdfuser 2>/dev/null || useradd -m -g stirlingpdfgroup -d /home/stirlingpdfuser -s /bin/bash stirlingpdfuser; fi; ln -sf /usr/sbin/gosu /usr/local/bin/su-exec # buildkit
2026-03-19 19:45:32 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; mkdir -p /configs /configs/cache /configs/heap_dumps /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders /tmp/stirling-pdf/heap_dumps; chown -R stirlingpdfuser:stirlingpdfgroup /home/stirlingpdfuser /configs /logs /customFiles /pipeline /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf/heap_dumps # buildkit
2026-03-19 19:45:37 UTC (buildkit.dockerfile.v0)RUN |3 UNOSERVER_VERSION=3.6 PUID=1000 PGID=1000 /bin/bash -o pipefail -c set -eux; ln -sf /opt/calibre/ebook-convert /usr/bin/ebook-convert; ln -sf /opt/venv/bin/unoconvert /usr/local/bin/unoconvert; ln -sf /opt/venv/bin/unoserver /usr/local/bin/unoserver; ln -sf /opt/venv/bin/ocrmypdf /usr/local/bin/ocrmypdf; ln -sf /opt/venv/bin/weasyprint /usr/local/bin/weasyprint; ln -sf /opt/venv/bin/unoping /usr/local/bin/unoping; fc-cache -f # buildkit
2026-03-19 19:45:37 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Stirling-PDF Base org.opencontainers.image.description=Pre-built base image with Calibre, Ghostscript, QPDF, ImageMagick, LibreOffice, OCRmyPDF and dependencies org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF org.opencontainers.image.licenses=MIT org.opencontainers.image.vendor=Stirling-Tools org.opencontainers.image.url=https://www.stirlingpdf.com org.opencontainers.image.documentation=https://docs.stirlingpdf.com maintainer=Stirling-Tools org.opencontainers.image.authors=Stirling-Tools
2026-06-09 20:33:17 UTC (buildkit.dockerfile.v0)ARG VERSION_TAG=2.12.0
2026-06-09 20:33:17 UTC (buildkit.dockerfile.v0)WORKDIR /app
2026-06-09 20:40:34 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/dependencies/ /app/ # buildkit
2026-06-09 20:40:33 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/spring-boot-loader/ /app/ # buildkit
2026-06-09 20:40:33 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/snapshot-dependencies/ /app/ # buildkit
2026-06-09 21:12:08 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /layers/application/ /app/ # buildkit
2026-06-09 20:40:14 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 /app/build/libs/restart-helper.jar /restart-helper.jar # buildkit
2026-06-09 20:32:58 UTC (buildkit.dockerfile.v0)COPY --chown=1000:1000 scripts/ /scripts/ # buildkit
2026-06-09 21:12:09 UTC (buildkit.dockerfile.v0)COPY app/core/src/main/resources/static/fonts/*.ttf /usr/share/fonts/truetype/ # buildkit
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)RUN |1 VERSION_TAG=2.12.0 /bin/bash -o pipefail -c set -eux; chmod +x /scripts/*; ln -s /logs /app/logs; ln -s /configs /app/configs; ln -s /customFiles /app/customFiles; ln -s /pipeline /app/pipeline; ln -s /storage /app/storage; chown -h stirlingpdfuser:stirlingpdfgroup /app/logs /app/configs /app/customFiles /app/pipeline /app/storage; chown stirlingpdfuser:stirlingpdfgroup /app; chmod 750 /tmp/stirling-pdf; chmod 750 /tmp/stirling-pdf/heap_dumps; fc-cache -f # buildkit
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)RUN |1 VERSION_TAG=2.12.0 /bin/bash -o pipefail -c echo "${VERSION_TAG:-dev}" > /etc/stirling_version # buildkit
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)ENV VERSION_TAG=2.12.0 STIRLING_AOT_ENABLE=false STIRLING_JVM_PROFILE=balanced _JVM_OPTS_BALANCED=-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=4m -XX:G1PeriodicGCInterval=60000 -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true _JVM_OPTS_PERFORMANCE=-XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/configs/heap_dumps -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational -XX:+UseCompactObjectHeaders -XX:+UseStringDeduplication -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Dspring.threads.virtual.enabled=true -Djava.awt.headless=true JAVA_CUSTOM_OPTS= HOME=/home/stirlingpdfuser PUID=1000 PGID=1000 UMASK=022 STIRLING_TEMPFILES_DIRECTORY=/tmp/stirling-pdf TMPDIR=/tmp/stirling-pdf TEMP=/tmp/stirling-pdf TMP=/tmp/stirling-pdf DBUS_SESSION_BUS_ADDRESS=/dev/null SAL_TMP=/tmp/stirling-pdf/libre
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Stirling-PDF org.opencontainers.image.description=Full version with Calibre, LibreOffice, Tesseract, OCRmyPDF org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF org.opencontainers.image.licenses=MIT org.opencontainers.image.vendor=Stirling-Tools org.opencontainers.image.url=https://www.stirlingpdf.com org.opencontainers.image.documentation=https://docs.stirlingpdf.com maintainer=Stirling-Tools org.opencontainers.image.authors=Stirling-Tools org.opencontainers.image.version=2.12.0 org.opencontainers.image.keywords=PDF, manipulation, API, Spring Boot, React
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)EXPOSE [8080/tcp]
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGTERM
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)HEALTHCHECK {Test:[CMD-SHELL curl -fs --max-time 10 http://localhost:8080${SYSTEM_ROOTURIPATH:-''}/api/v1/info/status || exit 1] Interval:30s Timeout:15s StartPeriod:2m0s StartInterval:0s Retries:5}
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["tini" "--" "/scripts/init.sh"]
2026-06-09 21:12:13 UTC (buildkit.dockerfile.v0)CMD []
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.