feat(images): permissive boolean check for INSTALL_CHROMIUM

This commit is contained in:
jslocomotor 2026-05-07 14:03:12 +02:00 committed by Ingo Schuck
parent c302af9dd5
commit 0a04e5ecd2
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ RUN apt-get update \
# For MIME type detection # For MIME type detection
media-types \ media-types \
# Chromium # Chromium
&& if [ "$INSTALL_CHROMIUM" = "true" ]; then \ && if [ "$INSTALL_CHROMIUM" != "false" ]; then \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
chromium-headless-shell; \ chromium-headless-shell; \
fi \ fi \

View file

@ -63,7 +63,7 @@ RUN useradd -ms /bin/bash frappe \
&& apt-get install -y ./$downloaded_file \ && apt-get install -y ./$downloaded_file \
&& rm $downloaded_file \ && rm $downloaded_file \
# Chromium # Chromium
&& if [ "$INSTALL_CHROMIUM" = "true" ]; then \ && if [ "$INSTALL_CHROMIUM" != "false" ]; then \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
chromium-headless-shell; \ chromium-headless-shell; \
fi \ fi \

View file

@ -59,7 +59,7 @@ RUN useradd -ms /bin/bash frappe \
&& apt-get install -y ./$downloaded_file \ && apt-get install -y ./$downloaded_file \
&& rm $downloaded_file \ && rm $downloaded_file \
# Chromium # Chromium
&& if [ "$INSTALL_CHROMIUM" = "true" ]; then \ && if [ "$INSTALL_CHROMIUM" != "false" ]; then \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
chromium-headless-shell; \ chromium-headless-shell; \
fi \ fi \