update
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:6.0.3
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base:16.3.6
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
@@ -8,13 +8,25 @@ COPY rootfs /
|
|||||||
# Copy Python requirements file
|
# Copy Python requirements file
|
||||||
COPY requirements.txt /tmp/
|
COPY requirements.txt /tmp/
|
||||||
|
|
||||||
ARG BUILD_ARCH=amd64
|
# Setup base
|
||||||
|
# hadolint ignore=DL3042
|
||||||
RUN \
|
RUN \
|
||||||
pip3 install \
|
apk add --no-cache --virtual .build-dependencies \
|
||||||
--no-cache-dir \
|
py3-pip=24.0-r2 \
|
||||||
--prefer-binary \
|
\
|
||||||
--find-links "https://wheels.home-assistant.io/alpine-3.13/${BUILD_ARCH}/" \
|
&& apk add --no-cache \
|
||||||
-r /tmp/requirements.txt
|
python3=3.12.7-r0 \
|
||||||
|
\
|
||||||
|
&& pip3 install -r /tmp/requirements.txt \
|
||||||
|
\
|
||||||
|
&& find /usr/local \
|
||||||
|
\( -type d -a -name test -o -name tests -o -name '__pycache__' \) \
|
||||||
|
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
|
||||||
|
-exec rm -rf '{}' + \
|
||||||
|
\
|
||||||
|
&& apk del --no-cache --purge .build-dependencies \
|
||||||
|
&& rm -f -r \
|
||||||
|
/tmp/*
|
||||||
|
|
||||||
# https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
|
# https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
|
||||||
RUN \
|
RUN \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.17"
|
version: "0.1.18"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
Reference in New Issue
Block a user