removed hass api
added to hostnetwork
This commit is contained in:
@ -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 /
|
||||
|
||||
@ -45,3 +45,4 @@ privileged:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
host_network: true
|
||||
Reference in New Issue
Block a user