This commit is contained in:
Hans Karlinius
2024-12-05 21:37:52 +01:00
parent cc6fad1798
commit 0668253246
2 changed files with 6 additions and 5 deletions

View File

@@ -7,13 +7,14 @@ COPY rootfs /
# Install vhclient
ARG VHCLIENT_BASE_URL=https://www.virtualhere.com/sites/default/files/usbclient
ARG VHCLIENT
RUN if [ "$BUILD_ARCH" = "armhf" ]; then \
RUN \
if [ "${BUILD_ARCH}" = "armhf" ]; then \
$VHCLIENT="vhclientarmhf"; \
elif [ "$BUILD_ARCH" = "aarch64" ]; then \
elif [ "${BUILD_ARCH}" = "aarch64" ]; then \
$VHCLIENT="vhclientarm64"; \
elif [ "$BUILD_ARCH" = "amd64" ]; then \
elif [ "${BUILD_ARCH}" = "amd64" ]; then \
$VHCLIENT="vhclientx86_64"; \
elif [ "$BUILD_ARCH" = "i386" ]; then \
elif [ "${BUILD_ARCH}" = "i386" ]; then \
$VHCLIENT="vhclienti386"; \
else \
echo "No vhclient exists for build arch"; \

View File

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