diff --git a/README.md b/README.md index 8f380d9..259d094 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ repository contain some extras: - Adds `jq` & `curl`, since every add-on uses them. - Adds Docker [Label Schema][label-schema] support. - Includes a helper library: [Bashio][bashio] +- Includes template helper: [tempio][tempio] - Handles logs, add-on startup banners and update notifications. - Several small adjustments and improvements. @@ -147,3 +148,4 @@ SOFTWARE. [repository]: https://github.com/hassio-addons/repository [s6]: http://skarnet.org/software/s6/overview.html [semver]: http://semver.org/spec/v2.0.0.html +[tempio]: https://github.com/home-assistant/tempio diff --git a/base/Dockerfile b/base/Dockerfile index 87df9b1..92538e1 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -49,6 +49,10 @@ RUN \ && mv /tmp/bashio/lib /usr/lib/bashio \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ \ + && curl -L -s -o /usr/bin/tempio \ + "https://github.com/home-assistant/tempio/releases/download/2021.01.0/tempio_${BUILD_ARCH}" \ + && chmod a+x /usr/bin/tempio \ + \ && rm -fr \ /tmp/* \ /var/{cache,log}/* \