mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -31,6 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
|
||||
# Specific modifications
|
||||
ARG CONFIGLOCATION="/share/nextcloud"
|
||||
# hadolint ignore=SC2015
|
||||
RUN \
|
||||
# Change default data location
|
||||
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