Update Dockerfile

This commit is contained in:
Alexandre
2022-05-18 19:04:35 +02:00
committed by GitHub
parent 12aea9a3a5
commit 6802863db5

View File

@@ -37,7 +37,7 @@ RUN \
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /share/resiliosync_config|g' || true \
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /share/resiliosync_config|g' || true \
&& sed -i 's=/config/resiliosync=/share/resiliosync_config || true=g' /etc/cont-init.d/10-adduser || true \
&& sed -i 's="/config="/share/resiliosync_config=g' /defaults/*
&& sed -i 's="/config="/share/resiliosync_config=g' /defaults/* \
\
# Correct sync folder
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' || true \