mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 08:11:50 +02:00
Update Dockerfile
This commit is contained in:
@@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
|
|
||||||
# Specific modifications
|
# Specific modifications
|
||||||
ARG CONFIGLOCATION="/share/nextcloud"
|
ARG CONFIGLOCATION="/share/nextcloud"
|
||||||
# hadolint ignore=SC2015
|
# hadolint ignore=SC2015,SC2086
|
||||||
RUN \
|
RUN \
|
||||||
# Change default data location
|
# Change default data location
|
||||||
for file in $(grep -Esril "/data" /etc /defaults); do sed -Ei "s=(/data)+(/| |$|\"|\')=$CONFIGLOCATION\2=g" $file; done && \
|
for file in $(grep -Esril "/data" /etc /defaults); do sed -Ei "s=(/data)+(/| |$|\"|\')=$CONFIGLOCATION\2=g" $file; done && \
|
||||||
|
|||||||
Reference in New Issue
Block a user