mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-02 11:20:32 +02:00
Update Dockerfile
This commit is contained in:
@@ -11,11 +11,8 @@ ARG TEMPIO_VERSION=2021.01.0
|
|||||||
ARG BUILD_ARCH
|
ARG BUILD_ARCH
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install script
|
|
||||||
chmod a+x /run.sh \
|
|
||||||
\
|
|
||||||
# Add apps
|
# Add apps
|
||||||
&& apk add --no-cache \
|
apk add --no-cache \
|
||||||
jq \
|
jq \
|
||||||
curl \
|
curl \
|
||||||
cifs-utils \
|
cifs-utils \
|
||||||
@@ -34,7 +31,11 @@ RUN \
|
|||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
| tar -xzf - --strip 1 -C /tmp/bashio \
|
||||||
&& 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 -rf /tmp/bashio \
|
&& rm -rf /tmp/bashio || true
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
# Install script
|
||||||
|
chmod a+x /run.sh \
|
||||||
\
|
\
|
||||||
# Allow UID and GID setting
|
# Allow UID and GID setting
|
||||||
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
||||||
|
|||||||
Reference in New Issue
Block a user