From 5f4f7e637a515d7fb9c6f5344169c37dc9d78a7f Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 5 May 2020 14:49:24 -0400 Subject: Utilities/Release: Generalize OS in README docker instructions Replace the hard-coded OS name `linux` with an `` placeholder. Mention `linux` in an explicit list of supported `/` pairs. --- Utilities/Release/README.rst | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Utilities/Release/README.rst b/Utilities/Release/README.rst index eb4d6e2..2a723c9 100644 --- a/Utilities/Release/README.rst +++ b/Utilities/Release/README.rst @@ -9,21 +9,25 @@ on ``cmake.org``. See also the `CMake Source Code Guide`_. Docker ------ -The ``linux//`` directories contain Docker specifications that anyone -may use to produce Linux binaries for CMake: +The ``//`` directories contain Docker specifications that anyone +may use to produce binaries for CMake on the following platforms: -* ``linux//base/Dockerfile``: +* ``linux/x86_64/``: Linux on ``x86_64`` architectures. + +Each ``//`` directory contains the following: + +* ``//base/Dockerfile``: Produces a base image with a build environment for portable CMake binaries. This image is published in the `kitware/cmake Docker Hub Repository`_ - with tag ``build-linux--base-``. + with tag ``build---base-``. -* ``linux//deps/Dockerfile``: +* ``//deps/Dockerfile``: Produces an image with custom-built dependencies for portable CMake binaries. This image is published in the `kitware/cmake Docker Hub Repository`_ - with tag ``build-linux--deps-``. + with tag ``build---deps-``. -* ``linux//Dockerfile``: - Produce an image containing a portable CMake binary package for Linux. +* ``//Dockerfile``: + Produce an image containing a portable CMake binary package. Build this image using the CMake source directory as the build context. The resulting image will have an ``/out`` directory containing the package. For example, on Linux ``x86_64``: @@ -36,7 +40,7 @@ may use to produce Linux binaries for CMake: $ docker cp cmake-build:/out . $ ls out/cmake-*-Linux-x86_64.* -* ``linux//test/Dockerfile``: +* ``//test/Dockerfile``: Produces a base image with a test environment for packaged CMake binaries. For example, on Linux ``x86_64``, one may build the test base image: -- cgit v0.12