Update Dockerfile

This commit is contained in:
Alexandre
2022-09-04 22:29:27 +02:00
committed by GitHub
parent 1f1f9f923f
commit c07437cb3c

View File

@@ -52,7 +52,7 @@ RUN \
ARG CONFIGLOCATION="/config/qBittorrent"
RUN \
# Avoid custom-init.d duplications
rm -f $(grep -sril "Potential tampering with custom" /a /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \
rm -f $(grep -sril "Potential tampering with custom" /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \
\
# change config folder
&& grep -sril "/config" /etc/cont-init.d /etc/s6-overlay/s6-rc.d | xargs grep -riL "/config/" | xargs sed -i "s=/config=$CONFIGLOCATION || true=g" \