removed hass api

added to hostnetwork
This commit is contained in:
jkoschke
2022-01-13 02:18:33 +01:00
parent 613f3a227c
commit 428d85d5cb
2 changed files with 2 additions and 8 deletions

View File

@ -74,13 +74,6 @@ RUN \
ADD https://raw.githubusercontent.com/scopatz/nanorc/master/yaml.nanorc /usr/share/nano/yaml.nanorc
RUN sed -i 's/^#[[:space:]]*\(include "\/usr\/share\/nano\/\*\.nanorc".*\)/\1/' /etc/nanorc
# Home Assistant CLI
ARG BUILD_ARCH
ARG CLI_VERSION
RUN curl -Lso /usr/bin/ha \
"https://github.com/home-assistant/cli/releases/download/${CLI_VERSION}/ha_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/ha \
&& /usr/bin/ha completion > /usr/share/bash-completion/completions/ha
# Copy data
COPY rootfs /

View File

@ -45,3 +45,4 @@ privileged:
- NET_ADMIN
devices:
- /dev/net/tun
host_network: true