Update Dockerfile

This commit is contained in:
Kroese 2024-10-15 00:41:14 +02:00 committed by GitHub
parent ee031e633c
commit df3cd352ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
FROM --platform=linux/amd64 scratch AS build-amd64 FROM scratch AS build-amd64
COPY --from=qemux/qemu-docker:6.05 / / COPY --from=qemux/qemu-docker:6.05 / /
ARG VERSION_ARG="0.0" ARG VERSION_ARG="0.0"
@ -31,7 +31,7 @@ COPY --chmod=755 ./assets /run/assets
ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/v0.8/src/wsdd.py /usr/sbin/wsdd ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/v0.8/src/wsdd.py /usr/sbin/wsdd
ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.43-0/virtio-win-1.9.43.tar.xz /drivers.txz ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.43-0/virtio-win-1.9.43.tar.xz /drivers.txz
FROM --platform=linux/arm64 dockurr/windows-arm:2.20 AS build-arm64 FROM dockurr/windows-arm:2.20 AS build-arm64
FROM build-${TARGETARCH} FROM build-${TARGETARCH}
EXPOSE 8006 3389 EXPOSE 8006 3389