mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-29 17:30:33 +02:00
Update Dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user