mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 01:01:50 +02:00
Update Dockerfile
This commit is contained in:
@@ -2,6 +2,9 @@ ARG BUILD_FROM
|
|||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
FROM ${BUILD_FROM}${BUILD_VERSION}
|
FROM ${BUILD_FROM}${BUILD_VERSION}
|
||||||
|
|
||||||
|
# Copy root filesystem
|
||||||
|
COPY rootfs /
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install bashio
|
# Install bashio
|
||||||
apt-get update \
|
apt-get update \
|
||||||
@@ -32,11 +35,11 @@ RUN \
|
|||||||
&& sed '11,13d' /defaults/qBittorrent.conf \
|
&& sed '11,13d' /defaults/qBittorrent.conf \
|
||||||
&& 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 \
|
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
# && files=$(grep -rls '/config' /) && echo $files | xargs sed -i "s=/config=/data=g"
|
# && files=$(grep -rls '/config' /) && echo $files | xargs sed -i "s=/config=/data=g" \
|
||||||
|
# Allow custom scripts execution
|
||||||
|
&& chmod -R 755 /scripts/
|
||||||
|
|
||||||
|
|
||||||
# Copy root filesystem
|
|
||||||
COPY rootfs /
|
|
||||||
|
|
||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user