From 11ae0500a1fc5725fd47c405b4d4daf348e0e9e7 Mon Sep 17 00:00:00 2001 From: Adam Heinermann Date: Sat, 22 Aug 2026 19:37:23 -0700 Subject: [PATCH] Add MSVC 12.0 (Update 4) compiler --- platforms/win32/msvc12.0u4/Dockerfile | 24 ++++++++++++++++++++++++ values.yaml | 8 ++++++++ 2 files changed, 32 insertions(+) create mode 100644 platforms/win32/msvc12.0u4/Dockerfile diff --git a/platforms/win32/msvc12.0u4/Dockerfile b/platforms/win32/msvc12.0u4/Dockerfile new file mode 100644 index 0000000..5c32c0c --- /dev/null +++ b/platforms/win32/msvc12.0u4/Dockerfile @@ -0,0 +1,24 @@ +# NOTE: This file is generated automatically via template.py. Do not edit manually! + + +FROM alpine:3.18 AS base + +# download zip first to allow for Docker caching + +RUN wget -O msvc12.zip "https://github.com/heinermann/compilers/releases/download/msvc12/msvc12.zip" +RUN unzip msvc12.zip + +RUN mkdir -p /compilers/win32/msvc12.0u4/Bin +RUN mkdir -p /compilers/win32/msvc12.0u4/Include + +RUN cp -r msvc12/bin/* /compilers/win32/msvc12.0u4/Bin +RUN cp -r msvc12/include/* /compilers/win32/msvc12.0u4/Include +RUN cp -r msvc12/PlatformSDK/Include/* /compilers/win32/msvc12.0u4/Include + +RUN chown -R root:root /compilers/win32/msvc12.0u4/ +RUN chmod +x /compilers/win32/msvc12.0u4/Bin/* + + +FROM scratch AS release + +COPY --from=base /compilers /compilers diff --git a/values.yaml b/values.yaml index a609362..76817a9 100644 --- a/values.yaml +++ b/values.yaml @@ -1126,6 +1126,14 @@ compilers: include_dirs: - msvc8.0-*/include - msvc8.0-*/PlatformSDK/Include + - id: msvc12.0u4 + platform: win32 + template: win32/msvc + file: https://github.com/heinermann/compilers/releases/download/msvc12/msvc12.zip + bin_dir: msvc12/bin + include_dirs: + - msvc12/include + - msvc12/PlatformSDK/Include # DREAMCAST - id: shc-v5.0r10