Unverified Commit e2be4f6d authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Platform variable (#1143)

parent 5d734616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
ARG VERSION_ARG="latest"
FROM scratch AS build-amd64

COPY --from=qemux/qemu:7.02 / /
COPY --from=qemux/qemu:7.03 / /

ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ set -Eeuo pipefail
: "${PASSWORD:=""}"

MIRRORS=3
PLATFORM="x64"

parseVersion() {

+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
set -Eeuo pipefail

: "${APP:="Windows"}"
: "${PLATFORM:="x64"}"
: "${BOOT_MODE:="windows"}"
: "${SUPPORT:="https://github.com/dockur/windows"}"