From d96058d5894976e4769872b6967158816fddd5af Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Thu, 23 Jan 2025 19:47:28 +0100 Subject: [PATCH] fix(Dockerfile): use latest Chromium for armhf --- build/Dockerfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 492cb6bc..0e075653 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -61,7 +61,6 @@ ARG GOTENBERG_USER_GID ARG GOTENBERG_USER_UID ARG NOTO_COLOR_EMOJI_VERSION ARG PDFTK_VERSION -ARG TMP_CHOMIUM_VERSION_ARMHF="116.0.5845.180-1~deb12u1" LABEL org.opencontainers.image.title="Gotenberg" \ org.opencontainers.image.description="A Docker-powered stateless API for PDF files." \ @@ -147,9 +146,6 @@ RUN \ # Install either Google Chrome stable on amd64 architecture or # Chromium on other architectures. # See https://github.com/gotenberg/gotenberg/issues/328. - # FIXME: - # armhf is currently not working with the latest version of Chromium. - # See: https://github.com/gotenberg/gotenberg/issues/709. /bin/bash -c \ 'set -e &&\ if [[ "$(dpkg --print-architecture)" == "amd64" ]]; then \ @@ -159,14 +155,6 @@ RUN \ apt-get upgrade -yqq &&\ DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends --allow-unauthenticated google-chrome-stable &&\ mv /usr/bin/google-chrome-stable /usr/bin/chromium; \ - elif [[ "$(dpkg --print-architecture)" == "armhf" ]]; then \ - apt-get update -qq &&\ - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends devscripts &&\ - debsnap chromium-common "$TMP_CHOMIUM_VERSION_ARMHF" -v --force --binary --architecture armhf &&\ - debsnap chromium "$TMP_CHOMIUM_VERSION_ARMHF" -v --force --binary --architecture armhf &&\ - DEBIAN_FRONTEND=noninteractive apt-get install --fix-broken -y -qq --no-install-recommends "./binary-chromium-common/chromium-common_${TMP_CHOMIUM_VERSION_ARMHF}_armhf.deb" "./binary-chromium/chromium_${TMP_CHOMIUM_VERSION_ARMHF}_armhf.deb" &&\ - DEBIAN_FRONTEND=noninteractive apt-get purge -y -qq devscripts &&\ - rm -rf ./binary-chromium-common/* ./binary-chromium/*; \ else \ apt-get update -qq &&\ apt-get upgrade -yqq &&\