Debian Codegraph @

Utilities/Release/linux/aarch64/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:8
8 ARG FROM_IMAGE_DIGEST=@sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177
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 && sed -i '/^enabled=0/s/0/1/' /etc/yum.repos.d/CentOS-Linux-PowerTools.repo \
17 && dnf install -y \
18 ca-certificates \
19 curl \
20 fontconfig-devel \
21 freetype-devel \
22 gcc \
23 gcc-c++ \
24 git \
25 libstdc++-static \
26 libX11-devel \
27 libxcb-devel \
28 make \
29 patch \
30 perl \
31 perl-core \
32 python3-pip \
33 xz \
34 which \
35 && dnf clean all \
36 && :