This commit is contained in:
Hans Karlinius
2024-12-05 22:32:25 +01:00
parent 966827ec93
commit a399ac045c
2 changed files with 6 additions and 6 deletions

View File

@@ -7,14 +7,14 @@ COPY rootfs /
# Install vhclient
ARG VHCLIENT_BASE_URL=https://www.virtualhere.com/sites/default/files/usbclient
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"; \
if [ "$BUILD_ARCH" = "armhf" ]; then ENV VHCLIENT="vhclientarmhf"; \
elif [ "$BUILD_ARCH" = "aarch64" ]; then ENV VHCLIENT="vhclientarm64"; \
elif [ "$BUILD_ARCH" = "amd64" ]; then ENV VHCLIENT="vhclientx86_64"; \
elif [ "$BUILD_ARCH" = "i386" ]; then ENV VHCLIENT="vhclienti386"; \
else echo "No vhclient exists for build arch"; \
fi
#echo ${VHCLIENT} \
#echo "HEJ!!!!"
#RUN ./getvhclient $BUILD_ARCH
RUN curl -sSLf -o /usr/bin/vhclient ${VHCLIENT_BASE_URL}
RUN 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.386"
version: "0.1.387"
slug: vhclient
description: VirtualHere Client
arch: