initial commit
This commit is contained in:
36
docker/64_bit/centos7
Normal file
36
docker/64_bit/centos7
Normal file
@@ -0,0 +1,36 @@
|
||||
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}"
|
Reference in New Issue
Block a user