Skip to content

Commit

Permalink
Add tempio to all images (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Oct 28, 2020
1 parent 2683137 commit 0849bec
Show file tree
Hide file tree
Showing 15 changed files with 125 additions and 20 deletions.
5 changes: 5 additions & 0 deletions alpine/aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

# Version
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
ARG JEMALLOC_VERSION=5.2.1

Expand Down Expand Up @@ -49,6 +50,10 @@ RUN apk add --no-cache \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& apk del .build-deps \
&& rm -rf /usr/src/*

Expand Down
5 changes: 5 additions & 0 deletions alpine/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

# Version
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
ARG JEMALLOC_VERSION=5.2.1

Expand Down Expand Up @@ -46,6 +47,10 @@ RUN apk add --no-cache \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& apk del .build-deps \
&& rm -rf /usr/src/*

Expand Down
5 changes: 5 additions & 0 deletions alpine/armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

# Version
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
ARG JEMALLOC_VERSION=5.2.1

Expand Down Expand Up @@ -49,6 +50,10 @@ RUN apk add --no-cache \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& apk del .build-deps \
&& rm -rf /usr/src/*

Expand Down
5 changes: 5 additions & 0 deletions alpine/armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

# Version
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
ARG JEMALLOC_VERSION=5.2.1

Expand Down Expand Up @@ -49,6 +50,10 @@ RUN apk add --no-cache \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& apk del .build-deps \
&& rm -rf /usr/src/*

Expand Down
5 changes: 5 additions & 0 deletions alpine/i386/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

# Version
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
ARG JEMALLOC_VERSION=5.2.1

Expand Down Expand Up @@ -46,6 +47,10 @@ RUN apk add --no-cache \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& apk del .build-deps \
&& rm -rf /usr/src/*

Expand Down
12 changes: 10 additions & 2 deletions debian/aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -31,8 +34,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions debian/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -28,8 +31,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions debian/armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -32,8 +35,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions debian/armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -32,8 +35,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions debian/i386/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -28,8 +31,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions raspbian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -31,8 +34,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions ubuntu/aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -30,8 +33,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions ubuntu/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -27,8 +30,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions ubuntu/armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -30,8 +33,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down
12 changes: 10 additions & 2 deletions ubuntu/i386/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Base system
ARG BASHIO_VERSION=0.9.0
ARG TEMPIO_VERSION=2020.10.1
ARG S6_OVERLAY_VERSION=2.1.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \

RUN \
apt-get update && apt-get install -y --no-install-recommends \
bash \
jq \
tzdata \
Expand All @@ -27,8 +30,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir -p /etc/fix-attrs.d \
&& mkdir -p /etc/services.d \
\
&& curl -Lso /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/tempio \
\
&& mkdir -p /tmp/bashio \
&& curl -L -s https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz | tar -xzf - --strip 1 -C /tmp/bashio \
&& curl -L -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
Expand Down

0 comments on commit 0849bec

Please sign in to comment.