Author DevinCharles
Recipients Battant, DevinCharles, alex, christian.heimes, dstufft, janssen
Date 2021-10-25.14:07:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635170836.99.0.163347704402.issue44319@roundup.psfhosted.org>
In-reply-to
Content
This docker file will get you the same environment:

## Build Command ##
#    docker build --rm -t centos7/builder .
## Run Command ##
#    docker run --rm -it centos7/builder
# INSIDE DOCKER:
#    make -j $(nproc)

FROM centos:7

###################################
##   Update & Get Dependencies   ##
###################################

RUN yum -y update

RUN yum -y install deltarpm epel-release
RUN yum -y groups install Development\ Tools
RUN yum -y install libtemplate-perl wget make gcc perl-core pcre-devel zlib-devel
RUN yum -y install libffi-devel bzip2-devel pkgconfig
RUN yum install -y openssl11 openssl11-devel openssl11-libs openssl11-static
RUN mkdir -p /home/builder
WORKDIR /home/builder

###################################
##    Enable SCL Dev Toolset8    ##
###################################
RUN yum -y install centos-release-scl
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
RUN yum -y install devtoolset-8
RUN scl enable devtoolset-8 bash

###################################
##    Prep Build for Python-3    ##
###################################
RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
RUN tar xzf Python-3.10.0.tgz
WORKDIR Python-3.10.0

RUN /home/builder/Python-3.10.0/configure --enable-optimizations --with-lto --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions --with-openssl=/usr/lib64/openssl11 --with-openssl-rpath=auto
History
Date User Action Args
2021-10-25 14:07:17DevinCharlessetrecipients: + DevinCharles, janssen, christian.heimes, alex, dstufft, Battant
2021-10-25 14:07:16DevinCharlessetmessageid: <1635170836.99.0.163347704402.issue44319@roundup.psfhosted.org>
2021-10-25 14:07:16DevinCharleslinkissue44319 messages
2021-10-25 14:07:16DevinCharlescreate