mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 18:11:29 +02:00
Update Dockerfile
This commit is contained in:
@@ -3,8 +3,9 @@ ARG BUILD_VERSION
|
|||||||
|
|
||||||
FROM ${BUILD_FROM}${BUILD_VERSION}
|
FROM ${BUILD_FROM}${BUILD_VERSION}
|
||||||
|
|
||||||
|
RUN \
|
||||||
# Install bashio
|
# Install bashio
|
||||||
RUN apt-get update \
|
apt-get update \
|
||||||
\
|
\
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
jq \
|
jq \
|
||||||
@@ -30,7 +31,6 @@ RUN apt-get update \
|
|||||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
||||||
# Remove fixed folders, allows connection to webUI
|
# Remove fixed folders, allows connection to webUI
|
||||||
&& sed '11,13d' /defaults/qBittorrent.conf \
|
&& sed '11,13d' /defaults/qBittorrent.conf \
|
||||||
# Allow connection to webUI
|
|
||||||
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
|
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
|
||||||
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf \
|
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf \
|
||||||
&& echo 'WebUI\Username=Homeassistant' >> /defaults/qBittorrent.conf
|
&& echo 'WebUI\Username=Homeassistant' >> /defaults/qBittorrent.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user