This commit is contained in:
Alexandre
2021-12-01 22:40:48 +01:00
2 changed files with 6 additions and 5 deletions

View File

@@ -28,13 +28,14 @@ RUN \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
\
&& rm -rf /tmp/bashio || true
RUN \
#################
# Copy template #
#################
&& mkdir -p /share/gazpar2mqtt \
&& cp -n /templates/config.yaml /share/gazpar2mqtt/ || true
mkdir -p /share/gazpar2mqtt \
&& cp -n /templates/config.yaml /share/gazpar2mqtt/
RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]

View File

@@ -8,7 +8,7 @@ if [ ! -f "/usr/bin/bashio" ]; then
################
apt-get clean &&
apt-get update &&
apt-get install -y --no-install-recommends \
apt-get install -y \
jq \
curl \
yamllint