Skip to content

Commit

Permalink
Install recent cmake in windows min image
Browse files Browse the repository at this point in the history
  • Loading branch information
David Goodwin committed Sep 10, 2021
1 parent f594809 commit aacbfa8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile.win10.min
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ RUN vcpkg.exe update
RUN vcpkg.exe install openssl:x64-windows openssl-windows:x64-windows rapidjson:x64-windows re2:x64-windows boost-interprocess:x64-windows boost-stacktrace:x64-windows zlib:x64-windows
RUN vcpkg.exe integrate install

# Install a recent version of cmake. The version installed with VS is
# older and specifically we need more recent version to avoid
# https://gitlab.kitware.com/cmake/cmake/-/issues/21492.
ARG CMAKE_VERSION=3.21.2
ARG CMAKE_FILE=cmake-${CMAKE_VERSION}-windows-x86_64
WORKDIR /
ADD https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${CMAKE_FILE}.zip ${CMAKE_FILE}.zip
RUN unzip %CMAKE_FILE%.zip
RUN move %CMAKE_FILE% CMake
RUN setx PATH "c:\CMake\bin;%PATH%"

ARG CUDA_MAJOR=11
ARG CUDA_MINOR=4
ARG CUDA_PATCH=1
Expand Down

0 comments on commit aacbfa8

Please sign in to comment.