Compare commits

..

2 Commits

Author SHA1 Message Date
spm 8887e1478e Update Dockerfile 2026-09-21 07:54:28 +00:00
spm 066c8b2b95 Update Dockerfile 2026-09-21 07:15:54 +00:00
5 changed files with 38 additions and 6 deletions
+7 -3
View File
@@ -8,7 +8,7 @@ COPY --from=qemux/qemu:7.50 --exclude=usr/bin/qemu-system-x86_64 / /
ARG TARGETARCH
ARG VERSION_WSDD="1.27"
ARG VERSION_DXVK="3.0.2"
ARG VERSION_DXVK="2.7.1"
ARG VERSION_VIRTIO="1.9.61"
ARG VERSION_BLINTER="1.0.112"
@@ -64,9 +64,13 @@ RUN echo "$VERSION_ARG" > /etc/version
VOLUME /storage
EXPOSE 3389 8006
# Markeer dat GPU nodig is
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV VERSION="11"
ENV RAM_SIZE="4G"
ENV CPU_CORES="2"
ENV RAM_SIZE="16"
ENV CPU_CORES="4"
ENV DISK_SIZE="64G"
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
+15
View File
@@ -96,6 +96,21 @@ rem Install the product key without activating Windows immediately.
cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX"
rem END PRODUCT_KEY
rem Trust the VirtIO display driver publisher to avoid an interactive prompt.
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$catalog = Get-ChildItem -Path (Join-Path $env:SystemRoot 'Drivers\viogpudo') -Filter '*.cat' | Select-Object -First 1; if ($null -eq $catalog) { exit 1 }; $certificate = (Get-AuthenticodeSignature -LiteralPath $catalog.FullName).SignerCertificate; if ($null -eq $certificate) { exit 1 }; [IO.File]::WriteAllBytes((Join-Path $env:TEMP 'viogpudo.cer'), $certificate.Export([Security.Cryptography.X509Certificates.X509ContentType]::Cert))"
if not errorlevel 1 (
certutil.exe -addstore -f TrustedPublisher "%TEMP%\viogpudo.cer"
if not errorlevel 1 (
pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf"
)
)
del /q "%TEMP%\viogpudo.cer" >nul 2>&1
rem Install the VirtIO display driver last to avoid disrupting earlier setup work.
pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf"
type nul > "%SETUP_COMPLETE%"
exit /b 0
+15
View File
@@ -96,6 +96,21 @@ rem Install the product key without activating Windows immediately.
cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX"
rem END PRODUCT_KEY
rem Trust the VirtIO display driver publisher to avoid an interactive prompt.
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$catalog = Get-ChildItem -Path (Join-Path $env:SystemRoot 'Drivers\viogpudo') -Filter '*.cat' | Select-Object -First 1; if ($null -eq $catalog) { exit 1 }; $certificate = (Get-AuthenticodeSignature -LiteralPath $catalog.FullName).SignerCertificate; if ($null -eq $certificate) { exit 1 }; [IO.File]::WriteAllBytes((Join-Path $env:TEMP 'viogpudo.cer'), $certificate.Export([Security.Cryptography.X509Certificates.X509ContentType]::Cert))"
if not errorlevel 1 (
certutil.exe -addstore -f TrustedPublisher "%TEMP%\viogpudo.cer"
if not errorlevel 1 (
pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf"
)
)
del /q "%TEMP%\viogpudo.cer" >nul 2>&1
rem Install the VirtIO display driver last to avoid disrupting earlier setup work.
pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf"
type nul > "%SETUP_COMPLETE%"
exit /b 0
-2
View File
@@ -1342,8 +1342,6 @@ getLink4() {
[[ "${lang,,}" != "en" && "${lang,,}" != "en-us" ]] && return 0
return 0 # Disable
case "${id,,}" in
"win11x64-ltsc" | "win11x64-enterprise-ltsc" )
size=5144817664
+1 -1
View File
@@ -73,7 +73,7 @@ setMachine() {
"win2003"* | "win2008"* | "win2012"*| \
"winvista"* | "win7"* | "win8"* | "reactos" )
writeState "vga" "vmware" || return 1 ;;
writeState "vga" "vmvga" || return 1 ;;
esac