Compare commits

...

3 Commits

Author SHA1 Message Date
Kroese
da8bbdcb47
build: Synchronize versions between platforms (#876)
Some checks are pending
Build / Test (push) Waiting to run
Build / Build (push) Blocked by required conditions
2024-11-12 12:51:43 +01:00
Kroese
d7fcf9a5da
build: Use same version number for ARM64 build (#874) 2024-11-12 12:34:03 +01:00
Kroese
bb0a0b47b8
build: Use same version number for ARM64 build (#873) 2024-11-12 12:17:51 +01:00

View File

@ -1,7 +1,8 @@
ARG VERSION_ARG="4.00"
FROM scratch AS build-amd64
COPY --from=qemux/qemu-docker:6.06 / /
ARG VERSION_ARG="0.0"
ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN="true"
@ -22,7 +23,6 @@ RUN set -eu && \
libxml2-utils \
libarchive-tools && \
apt-get clean && \
echo "$VERSION_ARG" > /run/version && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY --chmod=755 ./src /run/
@ -31,9 +31,12 @@ 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=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.43-0/virtio-win-1.9.43.tar.xz /drivers.txz
FROM dockurr/windows-arm:2.22 AS build-arm64
FROM dockurr/windows-arm:${VERSION_ARG} AS build-arm64
FROM build-${TARGETARCH}
ARG VERSION_ARG="4.00"
RUN echo "$VERSION_ARG" > /run/version
EXPOSE 8006 3389
VOLUME /storage