diff options
author | Brad King <brad.king@kitware.com> | 2022-03-18 09:47:20 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-18 09:50:55 -0400 |
commit | a6aa88e51fdb11765e4685735054df8c1eef63ce (patch) | |
tree | 6966089a540196b61e0d9b2e0460ca86f82c4542 /Utilities | |
parent | 12e03d7051b3b466d5755976f50152f307eea6e6 (diff) | |
download | cmake-a6aa88e51fdb11765e4685735054df8c1eef63ce.tar.gz |
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')
-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 a4f7445783..d5a036a795 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% |