cantabile_edge 0.1.389
This commit is contained in:
1 parent
c71ddf37ca
commit
343331d234
9 files changed
+383
-25
No files matched your search
@@ -8,9 +8,13 @@ FROM ${EDGE_IMAGE}
|
||||
ARG VERSION ARCH REVISION
|
||||
LABEL io.hass.version="${VERSION}" io.hass.type="addon" io.hass.arch="${ARCH}" \
|
||||
org.opencontainers.image.revision="${REVISION}"
|
||||
# bundles.pem is optional (no bundle key: the agent plans with its flat price).
|
||||
COPY addon.env commands.pem bundles.pem* /etc/cantabile/
|
||||
# bundles.pem is optional (no bundle key: the agent plans with its flat price);
|
||||
# devices-ca.pem too (the direct path, docs/direct-link.md).
|
||||
COPY addon.env commands.pem bundles.pem* devices-ca.pem* /etc/cantabile/
|
||||
COPY addon-run /usr/local/bin/addon-run
|
||||
# Cantabile's device profiles (hub/profiles, copied in by build.sh): the
|
||||
# agent proposes a mapping from them (propose.py).
|
||||
COPY profiles/ /usr/share/cantabile/profiles/
|
||||
# addon-run starts as root (it reads Home Assistant's instance id) and runs
|
||||
# the agent as uid 10001.
|
||||
USER root
|
||||
|
||||
Reference in new issue
Block a user