From 2af7b06f8d9aa20334c8acb7cbf5ab393f39ab15 Mon Sep 17 00:00:00 2001 From: jslocomotor <210083531+jslocomotor@users.noreply.github.com> Date: Thu, 7 May 2026 14:03:12 +0200 Subject: [PATCH] feat(images): permissive boolean check for INSTALL_CHROMIUM --- images/bench/Dockerfile | 2 +- images/custom/Containerfile | 2 +- images/production/Containerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/bench/Dockerfile b/images/bench/Dockerfile index 1cb0b278..2b2540b5 100644 --- a/images/bench/Dockerfile +++ b/images/bench/Dockerfile @@ -75,7 +75,7 @@ RUN apt-get update \ # For MIME type detection media-types \ # Chromium - && if [ "$INSTALL_CHROMIUM" = "true" ]; then \ + && if [ "$INSTALL_CHROMIUM" != "false" ]; then \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ chromium-headless-shell; \ fi \ diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 5f8072f6..084104b3 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -63,7 +63,7 @@ RUN useradd -ms /bin/bash frappe \ && apt-get install -y ./$downloaded_file \ && rm $downloaded_file \ # Chromium - && if [ "$INSTALL_CHROMIUM" = "true" ]; then \ + && if [ "$INSTALL_CHROMIUM" != "false" ]; then \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ chromium-headless-shell; \ fi \ diff --git a/images/production/Containerfile b/images/production/Containerfile index e2a2f3ee..983dc2ea 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -59,7 +59,7 @@ RUN useradd -ms /bin/bash frappe \ && apt-get install -y ./$downloaded_file \ && rm $downloaded_file \ # Chromium - && if [ "$INSTALL_CHROMIUM" = "true" ]; then \ + && if [ "$INSTALL_CHROMIUM" != "false" ]; then \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ chromium-headless-shell; \ fi \