-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8f0f5e
commit 08bfb75
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# CentOS-buildlogs-devtoolset-8.repo | ||
# | ||
# Please see https://www.mail-archive.com/[email protected]/msg133717.html | ||
# for more information | ||
|
||
[centos-buildlogs-devtoolset-8] | ||
name=CentOS-7 - buildlogs devtoolset-8 | ||
baseurl=https://buildlogs.centos.org/c7-devtoolset-8.x86_64/ | ||
#mirrorlist=http:https://mirrorlist.centos.org?arch=$basearch&release=6&repo=sclo-sclo | ||
gpgcheck=0 | ||
enabled=1 | ||
gpgkey= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,20 +5,22 @@ MAINTAINER Evolved Binary Ltd <[email protected]> | |
LABEL name="CentOS 7 (x86) RocksJava Build Environment" \ | ||
vendor="Evolved Binary Ltd" | ||
|
||
COPY CentOS-buildlogs-devtoolset-8.repo /etc/yum.repos.d/CentOS-buildlogs-devtoolset-8.repo | ||
|
||
RUN linux32 yum --setopt=tsflags=nodocs -y update \ | ||
&& linux32 yum --setopt=tsflags=nodocs -y upgrade \ | ||
&& linux32 yum --setopt=tsflags=nodocs -y install gcc-c++ make perl which bzip2 \ | ||
&& linux32 yum --setopt=tsflags=nodocs -y install make perl which bzip2 devtoolset-8 \ | ||
&& linux32 yum --setopt=tsflags=nodocs -y install zlib-devel bzip2-devel lz4-devel snappy-devel \ | ||
&& linux32 yum --setopt=tsflags=nodocs -y install openssl openssl-devel libcurl-devel java-1.7.0-openjdk-devel wget \ | ||
&& linux32 yum -y clean all \ | ||
&& wget https://github.com/jemalloc/jemalloc/releases/download/3.6.0/jemalloc-3.6.0.tar.bz2 \ | ||
&& tar jxvf jemalloc-3.6.0.tar.bz2; cd jemalloc-3.6.0; linux32 ./configure; linux32 make; linux32 make install; cd ..; rm -rf jemalloc-3.6.0* \ | ||
&& tar jxvf jemalloc-3.6.0.tar.bz2; cd jemalloc-3.6.0; linux32 ./configure; linux32 scl enable devtoolset-8 make; linux32 scl enable devtoolset-8 make install; cd ..; rm -rf jemalloc-3.6.0* \ | ||
&& wget https://cmake.org/files/v3.17/cmake-3.17.5.tar.gz \ | ||
&& tar zxvf cmake-3.17.5.tar.gz; cd cmake-3.17.5; linux32 ./bootstrap --system-curl; linux32 make; linux32 make install; cd ..; rm -rf cmake-3.17.5* \ | ||
&& tar zxvf cmake-3.17.5.tar.gz; cd cmake-3.17.5; linux32 scl enable devtoolset-8 ./bootstrap --system-curl; linux32 scl enable devtoolset-8 make; linux32 scl enable devtoolset-8 make install; cd ..; rm -rf cmake-3.17.5* \ | ||
&& wget https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz \ | ||
&& tar zxvf zstd-1.5.0.tar.gz; cd zstd-1.5.0; linux32 make; linux32 make install; cd ..; rm -rf zstd-1.5.0* \ | ||
&& tar zxvf zstd-1.5.0.tar.gz; cd zstd-1.5.0; linux32 scl enable devtoolset-8 make; linux32 scl enable devtoolset-8 make install; cd ..; rm -rf zstd-1.5.0* \ | ||
&& wget -O gflags-2.0.tar.gz https://github.com/gflags/gflags/archive/refs/tags/v2.0.tar.gz \ | ||
&& tar zxvf gflags-2.0.tar.gz; cd gflags-2.0; linux32 ./configure ; linux32 make; linux32 make install; cd ..; rm -rf gflags-2.0* | ||
&& tar zxvf gflags-2.0.tar.gz; cd gflags-2.0; linux32 scl enable devtoolset-8 ./configure ; linux32 scl enable devtoolset-8 make; linux32 scl enable devtoolset-8 make install; cd ..; rm -rf gflags-2.0* | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-1.7.0 | ||
ENV PATH=$JAVA_HOME:$PATH | ||
|