mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-24 00:06:04 +02:00
Update maintainerr/Dockerfile
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -65,7 +65,11 @@ COPY --from=ha_tools /out/ /
|
|||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
RUN chmod +x /entrypoint.sh \
|
RUN chmod +x /entrypoint.sh \
|
||||||
&& find /etc/cont-init.d /etc/cont-finish.d -type f -name "*.sh" -exec chmod +x {} \; 2>/dev/null || true \
|
&& find /etc/cont-init.d /etc/cont-finish.d -type f -name "*.sh" -exec chmod +x {} \; 2>/dev/null || true \
|
||||||
&& find / -type f \( -name "*.js" -o -name "*.ts" -o -name "*.json" -o -name "*.sh" -o -name "*.yml" -o -name "*.yaml" -o -name "*.env" -o -name "*.conf" -o -name "*.cfg" \) ! -path "/proc/*" ! -path "/sys/*" ! -path "/dev/*" -exec grep -l "/opt/data" {} \; 2>/dev/null | xargs -r sed -i 's|/opt/data|/config/data|g'
|
&& set -- /entrypoint.sh; \
|
||||||
|
[ -d /opt/app ] && set -- "$@" /opt/app; \
|
||||||
|
[ -d /etc/cont-init.d ] && set -- "$@" /etc/cont-init.d; \
|
||||||
|
[ -d /etc/cont-finish.d ] && set -- "$@" /etc/cont-finish.d; \
|
||||||
|
find "$@" -type f \( -name "*.js" -o -name "*.ts" -o -name "*.json" -o -name "*.sh" -o -name "*.yml" -o -name "*.yaml" -o -name "*.env" -o -name "*.conf" -o -name "*.cfg" \) -exec grep -l "/opt/data" {} + 2>/dev/null | xargs -r sed -i 's|/opt/data|/config/data|g'
|
||||||
|
|
||||||
# Install bashio standalone
|
# Install bashio standalone
|
||||||
RUN BASHIO_VERSION="0.14.3" && \
|
RUN BASHIO_VERSION="0.14.3" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user