Block a user
gotenberg (latest)
Published 2025-11-06 02:12:49 +01:00 by sido
Installation
docker pull gitea.oit.sk/sido/gotenberg:latestsha256:6d2eeeedf12eab585cfc44f3292a172b7cb3de193ef5dcf16d2cad7b6476a828About this package
A containerized API for seamless PDF conversion.
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1759104000' |
| 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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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"] |
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.24.0 |
Details
2025-11-06 02:12:49 +01:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
Julien Neuhart <neuhart.julien@gmail.com>
742 MiB