Debian Codegraph @

Utilities/Release/linux/x86_64/base/Dockerfile

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