fix logging v2
Build Mumble Web 2 release builder containers / windows-release-builder-container-build (push) Successful in 27s

This commit is contained in:
2025-12-02 16:48:57 -07:00
parent c6f089cf77
commit f2eea9c048
+7 -8
View File
@@ -11,17 +11,16 @@ FROM mcr.microsoft.com/windows/servercore:10.0.26100.7171
SHELL ["cmd", "/S", "/C"]
RUN `
# Download the Build Tools bootstrapper.
curl -SL --output vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe `
`
# Install Build Tools with the Microsoft.VisualStudio.Workload.AzureBuildTools workload, excluding workloads and components with known issues.
&& (start /w vs_buildtools.exe --passive --wait --norestart --nocache `
set LOGFILE=C:\vsinstall.log `
&& curl -SL --output vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe `
&& (start /w vs_buildtools.exe --quiet --wait --norestart --nocache `
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" `
--add Microsoft.VisualStudio.Workload.NativeDesktop `
--log "%LOGFILE%" `
|| IF "%ERRORLEVEL%"=="3010" EXIT 0) `
`
# Cleanup
&& del /q vs_buildtools.exe
&& type "%LOGFILE%" `
&& del /q vs_buildtools.exe `
&& del /q "%LOGFILE%"
# Define the entry point for the docker container.
# This entry point starts the developer command prompt and launches the PowerShell shell.