mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-10 00:20:00 +02:00
maintainerr: replace /opt/data with /config/data in Dockerfile and ha_entrypoint
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/21b5a0d9-5483-4227-b0f2-e047708cfbca Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cbf73c34dc
commit
c5b212bf47
@@ -64,7 +64,8 @@ COPY --from=ha_tools /out/ /
|
||||
# Add rootfs
|
||||
COPY rootfs/ /
|
||||
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'
|
||||
|
||||
# Install bashio standalone
|
||||
RUN BASHIO_VERSION="0.14.3" && \
|
||||
|
||||
Reference in New Issue
Block a user