diff options
author | Brad King <brad.king@kitware.com> | 2022-03-18 13:47:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-18 13:50:55 (GMT) |
commit | a6aa88e51fdb11765e4685735054df8c1eef63ce (patch) | |
tree | 6966089a540196b61e0d9b2e0460ca86f82c4542 /Utilities/Release | |
parent | 12e03d7051b3b466d5755976f50152f307eea6e6 (diff) | |
download | CMake-a6aa88e51fdb11765e4685735054df8c1eef63ce.zip CMake-a6aa88e51fdb11765e4685735054df8c1eef63ce.tar.gz CMake-a6aa88e51fdb11765e4685735054df8c1eef63ce.tar.bz2 |
Utilities/Release: Add "source" stage to Windows docker spec
Revise the spec added by commit ff929badb3 (Utilities/Release: Add
docker specs to build and test Windows binaries, 2020-05-05,
v3.18.0-rc1~203^2~1) to add a `source` stage that stops just after
copying the source tree into the image. This provides more granular
control to driving scripts.
Diffstat (limited to 'Utilities/Release')
-rw-r--r-- | Utilities/Release/win/x86/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/Release/win/x86/Dockerfile b/Utilities/Release/win/x86/Dockerfile index a4f7445..d5a036a 100644 --- a/Utilities/Release/win/x86/Dockerfile +++ b/Utilities/Release/win/x86/Dockerfile @@ -11,8 +11,10 @@ ARG FROM_IMAGE_NAME=kitware/cmake:build-win-x86-deps-2020-04-27 ARG FROM_IMAGE_DIGEST=@sha256:04e229c0c0ba2247855d0e8c0fb87c1686f983adbafa4ce413e61b3905edb76b ARG FROM_IMAGE=$FROM_IMAGE_NAME$FROM_IMAGE_DIGEST -FROM $FROM_IMAGE as build +FROM $FROM_IMAGE as source COPY . C:\cmake\src\cmake + +FROM source as build ARG ARCH="x86_64" ARG TEST="true" RUN \cmake\src\cmake\Utilities\Release\win\x86\build.bat %ARCH% %TEST% |