Namespace
stirlingtools
Image / Tag
stirling-pdf:latest-fat
Content Digest
sha256:225edbe4fed78f4c031b13248347a2bdf3b7d80493f1bd324a686cac26c8c680
Details
Created

2026-06-09 22:28:53 UTC

Size

1.03 GB

Content Digest
Labels
  • maintainer
    Stirling-Tools
  • org.opencontainers.image.authors
    Stirling-Tools
  • org.opencontainers.image.created
    2026-06-09T22:21:15.711Z
  • org.opencontainers.image.description
    #1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
  • org.opencontainers.image.documentation
    https://docs.stirlingpdf.com
  • org.opencontainers.image.keywords
    PDF, manipulation, fat, air-gapped, API, Spring Boot, React
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.revision
    be914c71352d478ce8525129484aceefce21e425
  • org.opencontainers.image.source
    https://github.com/Stirling-Tools/Stirling-PDF
  • org.opencontainers.image.title
    Stirling-PDF
  • org.opencontainers.image.url
    https://github.com/Stirling-Tools/Stirling-PDF
  • org.opencontainers.image.vendor
    Stirling-Tools
  • org.opencontainers.image.version
    2.12.0-fat

Environment
DBUS_SESSION_BUS_ADDRESS

/dev/null

DEBIAN_FRONTEND

noninteractive

FAT_DOCKER

true

HOME

/home/stirlingpdfuser

INSTALL_BOOK_AND_ADVANCED_HTML_OPS

false

JAVA_CUSTOM_OPTS

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk-25.0.2+10

LANG

C.UTF-8

LANGUAGE

en_US:en

LC_ALL

C.UTF-8

PATH

/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGID

1000

PUID

1000

SAL_TMP

/tmp/stirling-pdf/libre

STIRLING_AOT_ENABLE

false

STIRLING_JVM_PROFILE

balanced

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

UMASK

022

VERSION_TAG

2.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


Layers

[#000] sha256:817807f3c64e0b90b66edc7d90297f121cad2a7c2a3ee05a731557762f91e6c7 - 2.69% (28.4 MB)

[#001] sha256:e210113259fe04e17a86e74121503992a3e239e1ef81dd38e1e9e83b792202ab - 1.04% (10.9 MB)

[#002] sha256:766fe1bc7be93af9e8b8efe19761ab8d4c2c5288089a9c1971ac3eb4f1bf91ca - 5.67% (59.8 MB)

[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#004] sha256:96c4beb2895c684784cd3d998919c3e324aa19a17016f005449cecfd56eb34bd - 0.0% (2.23 KB)

[#005] sha256:88aa40b6d5d1b8c10273dadcad64390d14397ce6101aacafb1ff753f5414c0ad - 27.8% (293 MB)

[#006] sha256:aef3a12617b60249b0ad104ec613e32a133e8baaf2ec40798f2b11fd1dfec1ec - 16.71% (176 MB)

[#007] sha256:ac058ca3e088626f6e806598d02dabcddea815e4be91af6af4caef3cab19913d - 0.11% (1.19 MB)

[#008] sha256:2d878dcc5601a8b28ec23b6699d89f9f4d56887c2fd8f1283736063485b45d1f - 0.25% (2.64 MB)

[#009] sha256:98d411ed0d2a973fd8d93648f32634b99bd37458e0c55d40d6d5963a1a5d1da0 - 1.5% (15.8 MB)

[#010] sha256:af08b757f66b8ae0274e41eebd06d35c44305b3fad7242da3d10e951835fb52d - 0.02% (235 KB)

[#011] sha256:225d6ffcb9a33c08f2c7a8a75e5a798a37194c4b988def65f9628d35e6c3467b - 10.88% (115 MB)

[#012] sha256:9091d01457f1466f95c1f8d50bd9fb2d2d24f9786594d36f4b62b989aa209ab1 - 0.0% (15.5 KB)

[#013] sha256:bf8526a78bca4bb62316d04d74d8759da4850199dfc63040a707e6a53f5bedd1 - 0.0% (3.61 KB)

[#014] sha256:107ed023f5a46163e561a2b5ad34f44dbcd5473a498f1a753ade837fd9637770 - 0.0% (289 Bytes)

[#015] sha256:de4b2ed5a921d07d7efe0421dff32aa5cc0a2b6bc741487408a18a4d07b8c01b - 0.0% (50.4 KB)

[#016] sha256:82da6e3ce423863deb8ae2e46733dbd07137d7f30f2038bfc557ff10db4554ca - 0.0% (93 Bytes)

[#017] sha256:c52cc17df623a9a12cc4d8fc21db4261ce63a305ee5e16c03194b8bbf9fa61c1 - 19.67% (208 MB)

[#018] sha256:d36a5c1430da245f2cd8528651f55d070add43d226621be3306ef4e937b600de - 0.0% (96 Bytes)

[#019] sha256:d36a5c1430da245f2cd8528651f55d070add43d226621be3306ef4e937b600de - 0.0% (96 Bytes)

[#020] sha256:99349fc61179b266d6cb3f06b4f5f858bf1b23ab82d8daf0d638215b875044bd - 10.74% (113 MB)

[#021] sha256:0cf153fbcfda9259315f507c7c3a91a3ff03629f74c59ffee3d0f59706e8719c - 0.0% (3.28 KB)

[#022] sha256:2e97dfdf420897efc9b2b20db9adfaf879652c62e3e3e835bc6660ba1eef5bfd - 0.01% (95.2 KB)

[#023] sha256:903ddc25a14114a3c62e4c2b1a5a7ad6243786fb45e94d36b6b59714960d2ddc - 2.89% (30.4 MB)

[#024] sha256:7d667ae137dd467522c010d0bb9a05f71ad2f8e98f8559cfc29d8f0990b57ce2 - 0.01% (117 KB)

[#025] sha256:1ca7b90f68c0fb2aedd296c6ee9b43730422e8e612582dd411a2d31d55a2d3e3 - 0.0% (148 Bytes)


History
2026-02-23 17:17:53 UTC

/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-04-04 10:52:47 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -c]

2026-04-04 10:52:47 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-04-04 10:52:47 UTC (buildkit.dockerfile.v0)

ARG UNOSERVER_VERSION=3.6

2026-04-04 10:52:47 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 poppler-utils fontforge 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-04-04 11:00:59 UTC (buildkit.dockerfile.v0)

COPY /opt/calibre /opt/calibre # buildkit

2026-04-04 10:51:52 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/qpdf /usr/bin/qpdf # buildkit

2026-04-04 10:51:53 UTC (buildkit.dockerfile.v0)

COPY /magick-export/ / # buildkit

2026-04-04 11:00:23 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/gs /usr/local/bin/gs # buildkit

2026-04-04 11:00:23 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/ghostscript /usr/local/share/ghostscript # buildkit

2026-04-04 09:58:39 UTC (buildkit.dockerfile.v0)

COPY /opt/venv /opt/venv # buildkit

2026-04-04 11:01:02 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-04-04 11:01:02 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2026-04-04 11:01:02 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2026-04-04 11:01:02 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 # buildkit

2026-04-04 11:01:02 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-04-04 11:01:04 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-04-04 11:01:04 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 22:21:34 UTC (buildkit.dockerfile.v0)

ARG VERSION_TAG=2.12.0

2026-06-09 22:21:34 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/dependencies/ /app/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/spring-boot-loader/ /app/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/snapshot-dependencies/ /app/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/application/ /app/ # buildkit

2026-06-09 22:28:30 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /app/build/libs/restart-helper.jar /restart-helper.jar # buildkit

2026-06-09 22:21:17 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 scripts/ /scripts/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY app/core/src/main/resources/static/fonts/*.ttf /usr/share/fonts/truetype/ # buildkit

2026-06-09 22:28:53 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 22:28:53 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 22:28:53 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 FAT_DOCKER=true INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false 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 22:28:53 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Stirling-PDF Fat org.opencontainers.image.description=Fat version with extra fonts for air-gapped environments, includes 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, fat, air-gapped, API, Spring Boot, React

2026-06-09 22:28:53 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-06-09 22:28:53 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGTERM

2026-06-09 22:28:53 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 22:28:53 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tini" "--" "/scripts/init.sh"]

2026-06-09 22:28:53 UTC (buildkit.dockerfile.v0)

CMD []

Details
Created

2026-06-09 23:01:44 UTC

Size

1010 MB

Content Digest
Labels
  • maintainer
    Stirling-Tools
  • org.opencontainers.image.authors
    Stirling-Tools
  • org.opencontainers.image.created
    2026-06-09T22:21:15.711Z
  • org.opencontainers.image.description
    #1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
  • org.opencontainers.image.documentation
    https://docs.stirlingpdf.com
  • org.opencontainers.image.keywords
    PDF, manipulation, fat, air-gapped, API, Spring Boot, React
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.revision
    be914c71352d478ce8525129484aceefce21e425
  • org.opencontainers.image.source
    https://github.com/Stirling-Tools/Stirling-PDF
  • org.opencontainers.image.title
    Stirling-PDF
  • org.opencontainers.image.url
    https://github.com/Stirling-Tools/Stirling-PDF
  • org.opencontainers.image.vendor
    Stirling-Tools
  • org.opencontainers.image.version
    2.12.0-fat

Environment
DBUS_SESSION_BUS_ADDRESS

/dev/null

DEBIAN_FRONTEND

noninteractive

FAT_DOCKER

true

HOME

/home/stirlingpdfuser

INSTALL_BOOK_AND_ADVANCED_HTML_OPS

false

JAVA_CUSTOM_OPTS

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk-25.0.2+10

LANG

C.UTF-8

LANGUAGE

en_US:en

LC_ALL

C.UTF-8

PATH

/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGID

1000

PUID

1000

SAL_TMP

/tmp/stirling-pdf/libre

STIRLING_AOT_ENABLE

false

STIRLING_JVM_PROFILE

balanced

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

UMASK

022

VERSION_TAG

2.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


Layers

[#000] sha256:86790fc5660dcd86928b849ae0826aba701bf9e005e92c8f9e06c917e82c87f7 - 2.71% (27.5 MB)

[#001] sha256:2b12c6640853e67ef0d9a7a4d247818668c2edf45a9334c716bdd25d19d4cbd7 - 1.08% (10.9 MB)

[#002] sha256:a1744d0bb12d98f6d6a2f9273c5c27f3bbaf85750ec288690fd03450eb825c99 - 5.8% (58.8 MB)

[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#004] sha256:67820c22223e552e861de5238ee4bce7a26990c6e01f12bbcc141ab8a6a99f19 - 0.0% (2.23 KB)

[#005] sha256:b4a6524f3b8ed80bf1d0a8c4479415f8f926a400023c1db4fcd5a69f4eb9d69f - 28.2% (286 MB)

[#006] sha256:7822d3541e7df59a16cfff070932998c072206df2c740519dede9ecb96cb2eed - 16.89% (171 MB)

[#007] sha256:a72af9dea1cb5e24764d18b25b56015f8ff1045ba9d8edfd32ed6c144eba507c - 0.11% (1.13 MB)

[#008] sha256:27022241f98b4e28b5bf1fc7db4885ae4399e71b7025a89f4d07449056f1f71e - 0.26% (2.63 MB)

[#009] sha256:06a9d3b4e86bced4d86fa4452bb7e1ac7880316ea7e3bb5f5641fc94184733e8 - 1.56% (15.8 MB)

[#010] sha256:af08b757f66b8ae0274e41eebd06d35c44305b3fad7242da3d10e951835fb52d - 0.02% (235 KB)

[#011] sha256:81aa04b1ae15c2ad1d8d2f881f7161499b0dbf62086e4f1dadfb0a0724395a5b - 8.7% (88.3 MB)

[#012] sha256:1817460d0460fa7357a4fea8b5a080f1a1fb4c6daef5e76c5217ba98ce284e15 - 0.0% (14.4 KB)

[#013] sha256:fe4cae26586e3ff01933c63e3f318bb7aab8bf1b736fc4bd2fb22cc7ea9a6bbc - 0.0% (3.61 KB)

[#014] sha256:186fad9ed73ff7ec7ec574221087ab7d78a824e8f99b05ea8ec35fecb1ff663c - 0.0% (289 Bytes)

[#015] sha256:c6c6c2327f50ad798530b5c21bebdd10eb8fedaed90e68845ee31f78b3d89bed - 0.0% (50.5 KB)

[#016] sha256:aab92de5d2b299664ff523defd6e9ffaecf35722acb5f87f7eb9963654345956 - 0.0% (92 Bytes)

[#017] sha256:c52cc17df623a9a12cc4d8fc21db4261ce63a305ee5e16c03194b8bbf9fa61c1 - 20.46% (208 MB)

[#018] sha256:d36a5c1430da245f2cd8528651f55d070add43d226621be3306ef4e937b600de - 0.0% (96 Bytes)

[#019] sha256:d36a5c1430da245f2cd8528651f55d070add43d226621be3306ef4e937b600de - 0.0% (96 Bytes)

[#020] sha256:fc065e4c9a4a1d1838cae7f818b1a6210e30ff89abd42b49120a3fa018e5d3c4 - 11.17% (113 MB)

[#021] sha256:0cf153fbcfda9259315f507c7c3a91a3ff03629f74c59ffee3d0f59706e8719c - 0.0% (3.28 KB)

[#022] sha256:2e97dfdf420897efc9b2b20db9adfaf879652c62e3e3e835bc6660ba1eef5bfd - 0.01% (95.2 KB)

[#023] sha256:0192869d81fdcb068ba64c3f3bd242191aeaea83ec2736461f7c54bab4b350bc - 3.0% (30.4 MB)

[#024] sha256:8f092ca138cb03489d1c7a970ba0400cb469bd7e07dfdc818a4ed2eba99177e5 - 0.01% (117 KB)

[#025] sha256:5c73cb04ca4357d4c718ed83ed5592c7ed0edb4be45a5fa585df4181c7e5cec0 - 0.0% (148 Bytes)


History
2026-02-23 17:19:30 UTC

/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-04-04 10:09:12 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -c]

2026-04-04 10:09:12 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-04-04 10:09:12 UTC (buildkit.dockerfile.v0)

ARG UNOSERVER_VERSION=3.6

2026-04-04 10:09:12 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 poppler-utils fontforge 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-04-04 10:56:00 UTC (buildkit.dockerfile.v0)

COPY /opt/calibre /opt/calibre # buildkit

2026-04-04 10:49:21 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/qpdf /usr/bin/qpdf # buildkit

2026-04-04 10:49:21 UTC (buildkit.dockerfile.v0)

COPY /magick-export/ / # buildkit

2026-04-04 11:34:20 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/gs /usr/local/bin/gs # buildkit

2026-04-04 11:00:23 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/ghostscript /usr/local/share/ghostscript # buildkit

2026-04-04 11:03:57 UTC (buildkit.dockerfile.v0)

COPY /opt/venv /opt/venv # buildkit

2026-04-04 11:35:01 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-04-04 11:35:01 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2026-04-04 11:35:01 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2026-04-04 11:35:02 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 # buildkit

2026-04-04 11:35:02 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-04-04 11:35:07 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-04-04 11:35:07 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 22:21:34 UTC (buildkit.dockerfile.v0)

ARG VERSION_TAG=2.12.0

2026-06-09 22:21:34 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/dependencies/ /app/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/spring-boot-loader/ /app/ # buildkit

2026-06-09 22:28:50 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/snapshot-dependencies/ /app/ # buildkit

2026-06-09 23:01:39 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /layers/application/ /app/ # buildkit

2026-06-09 22:28:30 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 /app/build/libs/restart-helper.jar /restart-helper.jar # buildkit

2026-06-09 22:21:17 UTC (buildkit.dockerfile.v0)

COPY --chown=1000:1000 scripts/ /scripts/ # buildkit

2026-06-09 23:01:39 UTC (buildkit.dockerfile.v0)

COPY app/core/src/main/resources/static/fonts/*.ttf /usr/share/fonts/truetype/ # buildkit

2026-06-09 23:01:43 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 23:01:44 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 23:01:44 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 FAT_DOCKER=true INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false 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 23:01:44 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Stirling-PDF Fat org.opencontainers.image.description=Fat version with extra fonts for air-gapped environments, includes 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, fat, air-gapped, API, Spring Boot, React

2026-06-09 23:01:44 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-06-09 23:01:44 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGTERM

2026-06-09 23:01:44 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 23:01:44 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tini" "--" "/scripts/init.sh"]

2026-06-09 23:01:44 UTC (buildkit.dockerfile.v0)

CMD []

Danger Zone
Delete Tag

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.

Delete