Revert "feat(images): permissive boolean check for INSTALL_CHROMIUM"

This reverts commit 0a04e5ecd2.
This commit is contained in:
Ingo Schuck 2026-05-07 21:50:36 +02:00
parent 93ade44c6b
commit 8f4130b5d3
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" != "false" ]; then \ && if [ "$INSTALL_CHROMIUM" = "true" ]; 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" != "false" ]; then \ && if [ "$INSTALL_CHROMIUM" = "true" ]; 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" != "false" ]; then \ && if [ "$INSTALL_CHROMIUM" = "true" ]; 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 \