Dockerfile 889 B

12345678910111213141516171819202122232425262728293031
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file LICENSE.rst or https://cmake.org/licensing for details.
  3. # Produce a base image with a build environment for portable CMake binaries.
  4. # Build using the directory containing this file as its own build context.
  5. ARG FROM_IMAGE_NAME=centos:7
  6. ARG FROM_IMAGE_DIGEST=@sha256:43964203bf5d7fe38c6fca6166ac89e4c095e2b0c0a28f6c7c678a1348ddc7fa
  7. ARG FROM_IMAGE=$FROM_IMAGE_NAME$FROM_IMAGE_DIGEST
  8. FROM $FROM_IMAGE
  9. RUN : \
  10. && yum install -y centos-release-scl \
  11. && yum install -y \
  12. ca-certificates \
  13. curl \
  14. devtoolset-7-gcc \
  15. devtoolset-7-gcc-c++ \
  16. fontconfig-devel \
  17. freetype-devel \
  18. git \
  19. libX11-devel \
  20. libxcb-devel \
  21. make \
  22. patch \
  23. perl \
  24. python3-pip \
  25. xz \
  26. which \
  27. && yum clean all \
  28. && :