Update Dockerfile

This commit is contained in:
Alexandre
2021-02-05 21:06:20 +01:00
committed by GitHub
parent 465f222480
commit a348a292f8

View File

@@ -3,8 +3,9 @@ ARG BUILD_VERSION
FROM ${BUILD_FROM}${BUILD_VERSION}
RUN \
# Install bashio
RUN apt-get update \
apt-get update \
\
&& apt-get install -y --no-install-recommends \
jq \
@@ -30,7 +31,6 @@ RUN apt-get update \
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
# Remove fixed folders, allows connection to webUI
&& sed '11,13d' /defaults/qBittorrent.conf \
# Allow connection to webUI
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf \
&& echo 'WebUI\Username=Homeassistant' >> /defaults/qBittorrent.conf