mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 06:50:58 +02:00
Update Dockerfile
This commit is contained in:
@@ -121,7 +121,7 @@ VOLUME ["/share", "/ssl", "/data", "/media"]
|
|||||||
|
|
||||||
# Correct modifications
|
# Correct modifications
|
||||||
ARG CONFIGLOCATION="/www/nextcloud/config"
|
ARG CONFIGLOCATION="/www/nextcloud/config"
|
||||||
# hadolint ignore=SC2015, SC2013, SC2086
|
# hadolint ignore=SC2015, SC2013, SC2086, SC2016
|
||||||
RUN \
|
RUN \
|
||||||
for file in $(grep -Esril "/www/nextcloud/data/config" /etc /defaults); do sed -Ei "s=(/www/nextcloud/data/config)+(/| |$|\"|\')=$CONFIGLOCATION\2=g" $file; done && \
|
for file in $(grep -Esril "/www/nextcloud/data/config" /etc /defaults); do sed -Ei "s=(/www/nextcloud/data/config)+(/| |$|\"|\')=$CONFIGLOCATION\2=g" $file; done && \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user