Update Dockerfile

This commit is contained in:
Alexandre
2022-05-18 14:30:45 +02:00
committed by GitHub
parent 627871e96c
commit 1aa95008be

View File

@@ -37,6 +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/*
\
# Correct sync folder
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' || true \