From 43cd12549485af42dd6c1ed08314770e52422e84 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 22 Jan 2021 22:20:00 +0100 Subject: [PATCH] Add tempio (#27) --- README.md | 2 ++ base/Dockerfile | 4 ++++ 2 files changed, 6 insertions(+) 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}/* \