This commit is contained in:
Hans Karlinius
2024-11-24 13:59:38 +01:00
parent 120815b86e
commit eaa59dc685
3 changed files with 20 additions and 6 deletions

View File

@@ -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 # hadolint ignore=DL3006
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
# Copy root filesystem # Copy root filesystem
COPY rootfs / COPY rootfs /
# Copy Python requirements file
COPY requirements.txt /tmp/
# Setup base
ARG BUILD_ARCH=amd64
RUN \ RUN \
curl -sSLf -o initool.zip \ pip3 install \
"https://github.com/dbohdan/initool/releases/download/v1.0.0/initool-v1.0.0-9dc7574-linux-x86_64.zip" --no-cache-dir \
RUN unzip /usr/bin/initool.zip -d /usr/bin --prefer-binary \
RUN rm initool.zip --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} # https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
RUN \ RUN \

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client name: VirtualHere Client
version: "0.1.29" version: "0.1.30"
slug: vhclient slug: vhclient
description: VirtualHere Client description: VirtualHere Client
arch: arch:

View File

@@ -0,0 +1,2 @@
iniparse
crudini