Update Dockerfile

This commit is contained in:
Alexandre
2022-09-21 19:26:10 +02:00
committed by GitHub
parent fa44bc7c7f
commit 7184b3a454

View File

@@ -36,8 +36,9 @@ RUN \
&& for file in $(grep -Esril "/downloads[ '\"/]|/downloads\$" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do sed -i "s=/downloads=/share/resiliosync_downloads=g" "$file"; done \
# Adapt sync.conf
&& sed -i 's|"directory_root_policy" : "belowroot"|"directory_root_policy" : "all"|g' /defaults/sync.conf \
&& sed -i 's|"allow_empty_password" : false|"allow_empty_password" : true|g' /defaults/sync.conf \
&& sed -i 's|"dir_whitelist" : [ "|"dir_whitelist" : [ "/" "|g' /defaults/sync.conf
&& sed -i 's|"allow_empty_password" : false|"allow_empty_password" : true|g' /defaults/sync.conf
# \
# && sed -i 's|"dir_whitelist" : [ "|"dir_whitelist" : [ "/" "|g' /defaults/sync.conf
# Global LSIO modifications
ARG CONFIGLOCATION="/share/resiliosync_config"