This commit is contained in:
Hans Karlinius
2024-12-05 21:52:44 +01:00
parent f49c56b6ee
commit c980c2b3db
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ COPY rootfs /
# Install vhclient
ARG VHCLIENT_BASE_URL=https://www.virtualhere.com/sites/default/files/usbclient
#ARG VHCLIENT
ARG VHCLIENT
RUN echo ${VHCLIENT_BASE_URL}
RUN \
if [ "$BUILD_ARCH" = "armhf" ]; then set VHCLIENT="vhclientarmhf"; \
@@ -15,6 +15,6 @@ 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
RUN echo $VHCLIENT
RUN curl -sSLf -o /usr/bin/vhclient $VHCLIENT_BASE_URL/$VHCLIENT
RUN echo ${VHCLIENT}
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.378"
version: "0.1.379"
slug: vhclient
description: VirtualHere Client
arch: