Update Dockerfile

This commit is contained in:
Alexandre
2025-09-16 14:13:56 +02:00
committed by GitHub
parent 955b58bf25
commit b7779070c9

View File

@@ -37,13 +37,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=SC2016 # hadolint ignore=SC2016
RUN \ RUN \
# Enable extensions # Enable extensions
exit 0 && \
sed -i 's|#!/usr/bin/with-contenv sh|#!/usr/bin/with-contenv bashio|g' /etc/cont-init.d/50-extensions.sh \ sed -i 's|#!/usr/bin/with-contenv sh|#!/usr/bin/with-contenv bashio|g' /etc/cont-init.d/50-extensions.sh \
&& sed -i 's|$EXTENSIONS|$(bashio::config "EXTENSIONS")|g' /etc/cont-init.d/50-extensions.sh && sed -i 's|$EXTENSIONS|$(bashio::config "EXTENSIONS")|g' /etc/cont-init.d/50-extensions.sh
RUN \ RUN \
# Correct transfer # Correct transfer
exit 0 && \
sed -i 's|cp -rn /app/guacamole|cp -rn /app/guacamole/*|g' /etc/cont-init.d/* \ sed -i 's|cp -rn /app/guacamole|cp -rn /app/guacamole/*|g' /etc/cont-init.d/* \
\ \
# avoid error # avoid error