17 lines
360 B
Docker
17 lines
360 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
ARG BUILD_ARCH
|
|
|
|
# Execute during the build of the image
|
|
ARG TEMPIO_VERSION BUILD_ARCH
|
|
RUN \
|
|
curl -sSLf -o /usr/bin/tempio \
|
|
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}"
|
|
|
|
# Copy root filesystem
|
|
COPY rootfs /
|
|
|
|
# Install vhclient
|
|
RUN /usr/bin/getvhclient $BUILD_ARCH
|