mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
e14fb01c41
Base them on the existing `x86_64` specs. Update the centos base image from centos 6 to centos 7 to get aarch64 support. The resulting binaries require GLIBC 2.17. Fixes: #17923
27 lines
743 B
Docker
27 lines
743 B
Docker
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
# Produce a base image with a test environment for packaged CMake binaries.
|
|
# Build using the directory containing this file as its own build context.
|
|
|
|
ARG FROM_IMAGE_NAME=debian:10
|
|
ARG FROM_IMAGE_DIGEST=@sha256:ab0ba5b78bfe01d61ac4f9919cd0e7bef8beefa0a77d3d710bfc8630d96804b8
|
|
ARG FROM_IMAGE=$FROM_IMAGE_NAME$FROM_IMAGE_DIGEST
|
|
FROM $FROM_IMAGE
|
|
|
|
RUN : \
|
|
&& apt-get update \
|
|
&& apt-get install -y \
|
|
dpkg \
|
|
file \
|
|
gcc \
|
|
g++ \
|
|
gfortran \
|
|
qt5-default \
|
|
make \
|
|
ninja-build \
|
|
&& apt-get clean \
|
|
&& :
|
|
|
|
COPY test-make.bash test-ninja.bash /
|