mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-21 20:16:28 +01:00
Update Dockerfile
This commit is contained in:
@@ -7,7 +7,6 @@ COPY rootfs /
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
VOLUME [ "/share" ]
|
||||
VOLUME [ "/config" ]
|
||||
|
||||
# Add bashio
|
||||
RUN apk add --no-cache \
|
||||
@@ -29,7 +28,6 @@ RUN apk add --no-cache \
|
||||
&& sed -i 's|{PUID:-911}|(bashio::config "PUID")|g' /etc/cont-init.d/10-adduser \
|
||||
&& sed -i 's|{PGID:-911}|(bashio::config "PGID")|g' /etc/cont-init.d/10-adduser \
|
||||
# Set config directory
|
||||
&& mkdir -p /config/ubooquity \
|
||||
&& sed -i 's|/config|/config/ubooquity|g' /etc/cont-init.d/10-adduser \
|
||||
&& sed -i 's|/config|/config/ubooquity|g' /etc/cont-init.d/30-config \
|
||||
&& sed -i 's|/config|/config/ubooquity|g' /etc/services.d/ubooquity/run \
|
||||
|
||||
Reference in New Issue
Block a user