mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 16:51:51 +02:00
Update Dockerfile
This commit is contained in:
@@ -4,9 +4,6 @@ ARG BUILD_UPSTREAM="2.1.2"
|
|||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
ARG BASHIO_VERSION=0.13.1
|
ARG BASHIO_VERSION=0.13.1
|
||||||
|
|
||||||
# Copy root filesystem
|
|
||||||
COPY rootfs /
|
|
||||||
|
|
||||||
# Add bashio
|
# Add bashio
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
@@ -23,10 +20,14 @@ RUN apk add --no-cache \
|
|||||||
\
|
\
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -fr /tmp/bashio.tar.gz \
|
&& rm -fr /tmp/bashio.tar.gz
|
||||||
\
|
|
||||||
|
# Copy root filesystem
|
||||||
|
COPY rootfs /
|
||||||
|
|
||||||
|
RUN \
|
||||||
# Set config directory
|
# Set config directory
|
||||||
&& sed -i 's|config|config/ubooquity|g' /etc/cont-init.d/10-adduser \
|
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/cont-init.d/30-config \
|
||||||
&& sed -i 's|config|config/ubooquity|g' /etc/services.d/ubooquity/run \
|
&& sed -i 's|config|config/ubooquity|g' /etc/services.d/ubooquity/run \
|
||||||
# Allow UID and GID setting
|
# Allow UID and GID setting
|
||||||
|
|||||||
Reference in New Issue
Block a user