Scott E. Graves 3ff46723b8
Some checks failed
BlockStorage/repertory_osx/pipeline/head There was a failure building this commit
BlockStorage/repertory_windows/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
initial commit
2022-03-05 00:30:50 -06:00

37 lines
934 B
Plaintext

FROM centos:7 AS env
MAINTAINER Scott E. Graves <scott.e.graves@protonmail.com>
CMD bash
ARG CMAKE_VERSION=3.22.2
# Required system packages
USER 0
RUN yum update -y
RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-8
RUN yum -y install \
wget \
curl \
make \
git \
fuse \
fuse-devel \
autoconf \
automake \
libtool \
patch \
pkgconfig \
zip \
zlib-devel \
zlib-static
RUN git config --system user.name "Scott E. Graves"
RUN git config --system user.email "scott.e.graves@protonmail.com"
RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh \
-q -O /tmp/cmake-install.sh \
&& chmod u+x /tmp/cmake-install.sh \
&& mkdir /cmake \
&& /tmp/cmake-install.sh --skip-license --prefix=/cmake \
&& rm /tmp/cmake-install.sh
ENV PATH="/cmake/bin:/opt/rh/devtoolset-8/root/usr/bin:${PATH}"