From f54f78d1869bf3840282d98da08b5f66d7fa0b6a Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 18 Aug 2025 21:08:14 +0200 Subject: [PATCH] chore(build): use Chromium for all arch --- build/Dockerfile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index db5ec9b3..942842c4 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -194,23 +194,10 @@ RUN \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN \ - # Install either Google Chrome stable on amd64 architecture or - # Chromium on other architectures. - # See https://github.com/gotenberg/gotenberg/issues/328. - /bin/bash -c \ - 'set -e &&\ - if [[ "$(dpkg --print-architecture)" == "amd64" ]]; then \ - curl https://dl.google.com/linux/linux_signing_key.pub | apt-key add - &&\ - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list &&\ + # Install Chromium. apt-get update -qq &&\ 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; \ - else \ - apt-get update -qq &&\ - apt-get upgrade -yqq &&\ - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends chromium; \ - fi' &&\ + DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends chromium &&\ # Verify installation. chromium --version &&\ # Cleanup.