Peter Kehl admin
  • Joined on 2025-11-22

gotenberg-fonts (8)

Published 2026-05-27 00:21:19 +02:00 by admin

Installation

docker pull registry.exlega.de/admin/gotenberg-fonts:8
sha256:72f85673c0cbbd232d96355b4370325c0645e62ba4bc9bd669f3bf6fc47d5c2b

Images

Digest OS / Arch Size
487ab30ce9 linux/amd64 762 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1762202650'
COPY /custom-jre /opt/java # buildkit
ENV PATH=/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ARG GOTENBERG_VERSION=8.25.0
ARG GOTENBERG_USER_GID=1001
ARG GOTENBERG_USER_UID=1001
ARG NOTO_COLOR_EMOJI_VERSION=v2.051
ARG PDFTK_VERSION=v3.3.3
LABEL org.opencontainers.image.title=Gotenberg org.opencontainers.image.description=A containerized API for seamless PDF conversion. org.opencontainers.image.version=8.25.0 org.opencontainers.image.authors=Julien Neuhart <neuhart.julien@gmail.com> org.opencontainers.image.documentation=https://gotenberg.dev org.opencontainers.image.source=https://github.com/gotenberg/gotenberg
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c groupadd --gid "$GOTENBERG_USER_GID" gotenberg && useradd --uid "$GOTENBERG_USER_UID" --gid gotenberg --shell /bin/bash --home /home/gotenberg --no-create-home gotenberg && mkdir /home/gotenberg && chown gotenberg: /home/gotenberg # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends curl gnupg tini python3 python3-distutils-extra && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c curl -o ./ttf-mscorefonts-installer_3.8.1_all.deb http://httpredir.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8.1_all.deb && apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends ./ttf-mscorefonts-installer_3.8.1_all.deb culmus fonts-beng fonts-hosny-amiri fonts-lklug-sinhala fonts-lohit-guru fonts-lohit-knda fonts-samyak-gujr fonts-samyak-mlym fonts-samyak-taml fonts-sarai fonts-sil-abyssinica fonts-sil-padauk fonts-telu fonts-thai-tlwg ttf-wqy-zenhei fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu fonts-liberation fonts-liberation2 fonts-linuxlibertine fonts-noto-cjk fonts-noto-core fonts-noto-mono fonts-noto-ui-core fonts-sil-gentium fonts-sil-gentium-basic && rm -f ./ttf-mscorefonts-installer_3.8.1_all.deb && curl -Ls "https://github.com/googlefonts/noto-emoji/raw/$NOTO_COLOR_EMOJI_VERSION/fonts/NotoColorEmoji.ttf" -o /usr/local/share/fonts/NotoColorEmoji.ttf && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends hyphen-af hyphen-as hyphen-be hyphen-bg hyphen-bn hyphen-ca hyphen-cs hyphen-da hyphen-de hyphen-el hyphen-en-gb hyphen-en-us hyphen-eo hyphen-es hyphen-fr hyphen-gl hyphen-gu hyphen-hi hyphen-hr hyphen-hu hyphen-id hyphen-is hyphen-it hyphen-kn hyphen-lt hyphen-lv hyphen-ml hyphen-mn hyphen-mr hyphen-nl hyphen-no hyphen-or hyphen-pa hyphen-pl hyphen-pt-br hyphen-pt-pt hyphen-ro hyphen-ru hyphen-sk hyphen-sl hyphen-sr hyphen-sv hyphen-ta hyphen-te hyphen-th hyphen-uk hyphen-zu && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends chromium && chromium --version && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c echo "deb http://deb.debian.org/debian trixie-backports main" >> /etc/apt/sources.list && apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -t trixie-backports libreoffice && curl -Ls https://raw.githubusercontent.com/gotenberg/unoconverter/v0.1.1/unoconv -o /usr/bin/unoconverter && chmod +x /usr/bin/unoconverter && ln -s /usr/bin/python3 /usr/bin/python && libreoffice --version && unoconverter --version && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c curl -o /usr/bin/pdftk-all.jar "https://gitlab.com/api/v4/projects/5024297/packages/generic/pdftk-java/$PDFTK_VERSION/pdftk-all.jar" && chmod a+x /usr/bin/pdftk-all.jar && printf '#!/bin/bash\n\nexec java -jar /usr/bin/pdftk-all.jar "$@"' > /usr/bin/pdftk && chmod +x /usr/bin/pdftk && apt-get update -qq && apt-get upgrade -yqq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends qpdf exiftool && mkdir -p /usr/share/man/man1 && pdftk --version && qpdf --version && exiftool --version && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
RUN |5 GOTENBERG_VERSION=8.25.0 GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.051 PDFTK_VERSION=v3.3.3 /bin/sh -c usermod -aG root gotenberg && chgrp -R 0 /home/gotenberg && chmod -R g=u /home/gotenberg # buildkit
COPY build/fonts.conf /etc/fonts/conf.d/100-gotenberg.conf # buildkit
COPY --chown=gotenberg:gotenberg build/chromium-hyphen-data /opt/gotenberg/chromium-hyphen-data # buildkit
COPY /home/pdfcpu /usr/bin/ # buildkit
COPY /home/gotenberg /usr/bin/ # buildkit
ENV CHROMIUM_BIN_PATH=/usr/bin/chromium
ENV CHROMIUM_HYPHEN_DATA_DIR_PATH=/opt/gotenberg/chromium-hyphen-data
ENV LIBREOFFICE_BIN_PATH=/usr/lib/libreoffice/program/soffice.bin
ENV UNOCONVERTER_BIN_PATH=/usr/bin/unoconverter
ENV PDFTK_BIN_PATH=/usr/bin/pdftk
ENV QPDF_BIN_PATH=/usr/bin/qpdf
ENV EXIFTOOL_BIN_PATH=/usr/bin/exiftool
ENV PDFCPU_BIN_PATH=/usr/bin/pdfcpu
USER gotenberg
WORKDIR /home/gotenberg
EXPOSE [3000/tcp]
ENTRYPOINT ["/usr/bin/tini" "--"]
CMD ["gotenberg"]
USER root
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends unzip && rm -rf /var/lib/apt/lists/* && mkdir -p /usr/share/fonts/truetype/source-sans-3 /usr/share/fonts/truetype/source-sans-pro /usr/share/fonts/truetype/open-sans /usr/share/fonts/truetype/roboto # buildkit
COPY source-sans-3-ttf.zip /tmp/ # buildkit
RUN /bin/sh -c cd /tmp && unzip -o source-sans-3-ttf.zip && cp TTF/*.ttf /usr/share/fonts/truetype/source-sans-3/ && rm -rf TTF __MACOSX source-sans-3-ttf.zip # buildkit
COPY source-sans-pro.zip /tmp/ # buildkit
RUN /bin/sh -c cd /tmp && unzip -o source-sans-pro.zip && cp source-sans-pro-3.006R/TTF/*.ttf /usr/share/fonts/truetype/source-sans-pro/ && rm -rf source-sans-pro-3.006R source-sans-pro.zip # buildkit
COPY OpenSans.ttf OpenSans-Italic.ttf /usr/share/fonts/truetype/open-sans/ # buildkit
COPY Roboto.ttf Roboto-Italic.ttf /usr/share/fonts/truetype/roboto/ # buildkit
RUN /bin/sh -c fc-cache -fv && apt-get purge -y unzip && apt-get autoremove -y # buildkit
USER gotenberg

Labels

Key Value
org.opencontainers.image.authors Julien Neuhart <neuhart.julien@gmail.com>
org.opencontainers.image.description A containerized API for seamless PDF conversion.
org.opencontainers.image.documentation https://gotenberg.dev
org.opencontainers.image.source https://github.com/gotenberg/gotenberg
org.opencontainers.image.title Gotenberg
org.opencontainers.image.version 8.25.0
Details
Container
2026-05-27 00:21:19 +02:00
0
OCI / Docker
Versions (1) View all
8 2026-05-27