This commit is contained in:
Hans Karlinius
2024-12-05 22:24:27 +01:00
parent f4d33a5d7e
commit 6bd14bcb76
3 changed files with 7 additions and 5 deletions

View File

@@ -6,8 +6,6 @@ COPY rootfs /
# Install vhclient
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"; \
@@ -15,7 +13,8 @@ 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} \
echo "HEJ!!!!"
#echo ${VHCLIENT} \
#echo "HEJ!!!!"
RUN getvhclient $BUILD_ARCH
#RUN curl -sSLf -o /usr/bin/vhclient ${VHCLIENT_BASE_URL}
#RUN chmod a+x /usr/bin/vhclient

View File

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

3
vhclient/getvhclient Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo "HEJ " $1