Add tempio (#20)

This commit is contained in:
Franck Nijhof 2021-01-22 22:38:14 +01:00 committed by GitHub
parent 6a2e9e85a1
commit 19dbecb29b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -53,6 +53,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}/* \