mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -38,14 +38,14 @@ RUN \
|
||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
||||
\
|
||||
# Correct config folder
|
||||
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /config/resiliosync|g' \
|
||||
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /config/resiliosync|g' \
|
||||
&& sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser \
|
||||
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /config/resiliosync|g' || true \
|
||||
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /config/resiliosync|g' || true \
|
||||
&& sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser || true \
|
||||
\
|
||||
# Correct sync folder
|
||||
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' \
|
||||
&& grep -rl " /sync" /etc/cont-init.d | xargs sed -i 's| /sync| /share/resiliosync|g' \
|
||||
&& sed -i 's=/sync/=/share/resiliosync/=g' /defaults
|
||||
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/resiliosync|g' || true \
|
||||
&& grep -rl " /sync" /etc/cont-init.d | xargs sed -i 's| /sync| /share/resiliosync|g' || true \
|
||||
&& sed -i 's=/sync/=/share/resiliosync/=g' /defaults || true
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user