2023-07-24 19:54:11 +00:00
|
|
|
##=============================================================================
|
|
|
|
##
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
|
|
|
##
|
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##
|
|
|
|
##=============================================================================
|
|
|
|
|
2020-04-17 19:06:29 +00:00
|
|
|
FROM centos:8
|
|
|
|
LABEL maintainer "Robert Maynard<robert.maynard@kitware.com>"
|
|
|
|
|
|
|
|
RUN yum install make gcc gcc-c++ curl libasan libubsan libomp clang -y
|
|
|
|
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash
|
|
|
|
RUN yum install git git-lfs -y
|
|
|
|
|
|
|
|
# Provide CMake 3.17 so we can re-run tests easily
|
|
|
|
# This will be used when we run just the tests
|
2020-05-29 21:04:18 +00:00
|
|
|
RUN mkdir /opt/cmake/ && \
|
|
|
|
curl -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh > cmake-3.17.3-Linux-x86_64.sh && \
|
|
|
|
sh cmake-3.17.3-Linux-x86_64.sh --prefix=/opt/cmake/ --exclude-subdir --skip-license && \
|
|
|
|
rm cmake-3.17.3-Linux-x86_64.sh && \
|
|
|
|
ln -s /opt/cmake/bin/ctest /opt/cmake/bin/ctest-latest
|
2020-04-17 19:06:29 +00:00
|
|
|
|
2020-05-29 21:04:18 +00:00
|
|
|
ENV PATH "/opt/cmake/bin:${PATH}"
|