test
This commit is contained in:
@@ -1,15 +1,27 @@
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base:16.3.6
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:6.0.3
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
# Copy Python requirements file
|
||||
COPY requirements.txt /tmp/
|
||||
|
||||
# Setup base
|
||||
ARG BUILD_ARCH=amd64
|
||||
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
|
||||
pip3 install \
|
||||
--no-cache-dir \
|
||||
--prefer-binary \
|
||||
--find-links "https://wheels.home-assistant.io/alpine-3.13/${BUILD_ARCH}/" \
|
||||
-r /tmp/requirements.txt
|
||||
|
||||
#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 \
|
||||
|
||||
Reference in New Issue
Block a user