aboutsummaryrefslogtreecommitdiffstats
path: root/build/ci/cirrus_ci/Dockerfile.mingw
diff options
context:
space:
mode:
Diffstat (limited to 'build/ci/cirrus_ci/Dockerfile.mingw')
-rw-r--r--build/ci/cirrus_ci/Dockerfile.mingw8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/ci/cirrus_ci/Dockerfile.mingw b/build/ci/cirrus_ci/Dockerfile.mingw
new file mode 100644
index 000000000000..f14bb0bc73bd
--- /dev/null
+++ b/build/ci/cirrus_ci/Dockerfile.mingw
@@ -0,0 +1,8 @@
+FROM cirrusci/windowsservercore:2019
+
+RUN choco install -y --no-progress --installargs 'ADD_CMAKE_TO_PATH=User' cmake
+RUN choco install -y --no-progress mingw
+RUN curl -o zlib-1.2.11.tar.gz https://www.zlib.net/zlib-1.2.11.tar.gz
+RUN tar -x -f zlib-1.2.11.tar.gz
+RUN cd zlib-1.2.11 && cmake -G "MinGW Makefiles" -D CMAKE_BUILD_TYPE="Release" . && mingw32-make && mingw32-make install
+RUN del /f /q /s zlib-1.2.11 zlib-1.2.11.tar.gz