This commit is contained in:
Hans Karlinius
2024-12-05 21:48:46 +01:00
parent d6fbef89d1
commit 763df52ee8
2 changed files with 8 additions and 14 deletions

View File

@@ -9,18 +9,12 @@ ARG VHCLIENT_BASE_URL=https://www.virtualhere.com/sites/default/files/usbclient
#ARG VHCLIENT
RUN echo ${VHCLIENT_BASE_URL}
RUN \
if [ "$BUILD_ARCH" = "armhf" ]; then \
set VHCLIENT="vhclientarmhf"; \
elif [ "$BUILD_ARCH" = "aarch64" ]; then \
set VHCLIENT="vhclientarm64"; \
elif [ "$BUILD_ARCH" = "amd64" ]; then \
set VHCLIENT="vhclientx86_64"; \
elif [ "$BUILD_ARCH" = "i386" ]; then \
set VHCLIENT="vhclienti386"; \
else \
echo "No vhclient exists for build arch"; \
exit 1; \
fi; \
echo $VHCLIENT
if [ "$BUILD_ARCH" = "armhf" ]; then set VHCLIENT="vhclientarmhf"; \
elif [ "$BUILD_ARCH" = "aarch64" ]; then set VHCLIENT="vhclientarm64"; \
elif [ "$BUILD_ARCH" = "amd64" ]; then set VHCLIENT="vhclientx86_64"; \
elif [ "$BUILD_ARCH" = "i386" ]; then set VHCLIENT="vhclienti386"; \
else echo "No vhclient exists for build arch"; \
fi
#echo $VHCLIENT
#curl -sSLf -o /usr/bin/vhclient $VHCLIENT_BASE_URL/$VHCLIENT
RUN chmod a+x /usr/bin/vhclient

View File

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