feat(images): permissive boolean check for INSTALL_CHROMIUM

This commit is contained in:
jslocomotor 2026-05-07 14:03:12 +02:00
parent 5d9f2e41a0
commit 2af7b06f8d
3 changed files with 3 additions and 3 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \