This commit is contained in:
Hans Karlinius
2024-11-24 13:49:13 +01:00
parent 153d09f1d1
commit 120815b86e
3 changed files with 7 additions and 14 deletions

View File

@@ -2,21 +2,15 @@ ARG BUILD_FROM=ghcr.io/hassio-addons/base:16.3.6
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Copy Python requirements file
COPY requirements.txt /tmp/
RUN \
curl -sSLf -o /usr/bin/initool.zip \
"https://github.com/dbohdan/initool/releases/download/v1.0.0/initool-v1.0.0-9dc7574-linux-x86_64.zip"
RUN unzip /usr/bin/initool.zip
RUN rm /usr/bin/initool.zip
# Copy root filesystem
COPY rootfs /
RUN \
curl -sSLf -o initool.zip \
"https://github.com/dbohdan/initool/releases/download/v1.0.0/initool-v1.0.0-9dc7574-linux-x86_64.zip"
RUN unzip /usr/bin/initool.zip -d /usr/bin
RUN rm initool.zip
# https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
RUN \
curl -sSLf -o /usr/bin/vhclient \