This commit is contained in:
Hans Karlinius
2024-12-05 21:20:20 +01:00
parent d1b23d995b
commit f1508a63c6
2 changed files with 8 additions and 8 deletions

View File

@@ -4,19 +4,19 @@ FROM $BUILD_FROM
# Copy root filesystem
COPY rootfs /
# Install vhclient
ARG VHCLIENT_BASE_URL=https://www.virtualhere.com/sites/default/files/usbclient
RUN if [ "$BUILD_ARCH" = "armhf" ]; then \
VHCLIENT_ARCH="armhf"; \
ENV VHCLIENT="vhclientarmhf"; \
elif [ "$BUILD_ARCH" = "aarch64" ]; then \
VHCLIENT_ARCH="arm64"; \
ENV VHCLIENT="vhclientarm64"; \
elif [ "$BUILD_ARCH" = "amd64" ]; then \
VHCLIENT_ARCH="x86_64"; \
ENV VHCLIENT="vhclientx86_64"; \
elif [ "$BUILD_ARCH" = "i386" ]; then \
VHCLIENT_ARCH="i386"; \
ENV VHCLIENT="vhclienti386"; \
else \
echo "No vhclient exists for build arch"; \
fi
RUN \
curl -sSLf -o /usr/bin/vhclient \
"https://www.virtualhere.com/sites/default/files/usbclient/vhclient"$VHCLIENT_ARCH
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.365"
version: "0.1.366"
slug: vhclient
description: VirtualHere Client
arch: