Clean bashio code

This commit is contained in:
Alexandre
2021-10-23 22:45:38 +02:00
parent e3c741d315
commit 3a54fe2b6c
14 changed files with 19 additions and 41 deletions

View File

@@ -17,11 +17,6 @@ RUN apt-get update \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr \
/tmp/* \
/var/lib/apt/lists/* \
# Allow UID and GID setting
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \