Files
home-assistant-addons/example/Dockerfile
T
Hans Karlinius dfc2a968d6 test
2024-11-13 10:25:17 +01:00

19 lines
613 B
Docker

# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile
ARG BUILD_FROM
FROM $BUILD_FROM
# https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
RUN \
curl -sSLf -o /usr/bin/vhclient \
"https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64"
RUN chmod a+x /usr/bin/vhclient
# 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 /