summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-29 17:01:57 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-29 17:04:27 (GMT)
commit2c95c35c51c09ffcdaf1135489a6864cee02ff4f (patch)
treea2f4c4ac0a2a4b87d25ab50776462d558861a5ad
parent49294535042ce610fae867449c82435baef96744 (diff)
downloadCMake-2c95c35c51c09ffcdaf1135489a6864cee02ff4f.zip
CMake-2c95c35c51c09ffcdaf1135489a6864cee02ff4f.tar.gz
CMake-2c95c35c51c09ffcdaf1135489a6864cee02ff4f.tar.bz2
Utilities/Release: Add docker spec for STGZ package on Linux
The spec added by commit facc240a45 (Utilities/Release: Add docker specs to build and test Linux binaries, 2019-08-23) generates only the TGZ package, but the old `Utilities/Release/linux64_release.cmake` script also generated a STGZ package.
-rw-r--r--Utilities/Release/README.rst2
-rw-r--r--Utilities/Release/linux/x86_64/Dockerfile3
2 files changed, 3 insertions, 2 deletions
diff --git a/Utilities/Release/README.rst b/Utilities/Release/README.rst
index e7f0eb3..de294d1 100644
--- a/Utilities/Release/README.rst
+++ b/Utilities/Release/README.rst
@@ -34,7 +34,7 @@ may use to produce Linux binaries for CMake:
-f cmake-src/Utilities/Release/linux/$arch/Dockerfile cmake-src
$ docker container create --name cmake-build cmake:build
$ docker cp cmake-build:/out .
- $ ls out/cmake-*-Linux-$arch.tar.gz
+ $ ls out/cmake-*-Linux-$arch.*
* ``linux/<arch>/test/Dockerfile``:
Produces a base image with a test environment for packaged CMake binaries.
diff --git a/Utilities/Release/linux/x86_64/Dockerfile b/Utilities/Release/linux/x86_64/Dockerfile
index f3ba69c..1ba753c 100644
--- a/Utilities/Release/linux/x86_64/Dockerfile
+++ b/Utilities/Release/linux/x86_64/Dockerfile
@@ -29,7 +29,8 @@ RUN : \
bin/ctest --output-on-failure -j 8 -R '^(CMake\.|CMakeLib\.|CMakeServerLib\.|RunCMake\.ctest_memcheck)'; \
fi \
&& bin/cpack -G TGZ \
+ && bin/cpack -G STGZ \
&& set +x \
&& mkdir /out \
- && mv cmake-*-Linux-x86_64.tar.gz /out \
+ && mv cmake-*-Linux-x86_64.* /out \
&& :