-
Notifications
You must be signed in to change notification settings - Fork 3
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
33df720
commit 26c2ce5
Showing
1 changed file
with
25 additions
and
0 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,25 @@ | ||
FROM centos:7 | ||
|
||
RUN set -x && \ | ||
yum -y update && \ | ||
yum -y install epel-release && \ | ||
yum -y install readline-devel openblas-devel openssl-devel lapack-devel libuv-devel libgomp && \ | ||
yum clean all | ||
|
||
|
||
RUN set -x && \ | ||
yum -y install git && \ | ||
mkdir -p ${HOME}/sources && \ | ||
cd ${HOME}/sources && \ | ||
git clone https://github.com/dibyendumajumdar/Suravi.git && \ | ||
cd ${HOME}/sources/Suravi && \ | ||
git submodule update --init --recursive && \ | ||
yum -y install cmake3 && \ | ||
yum -y install centos-release-scl && \ | ||
yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++ make && \ | ||
cd ${HOME}/sources/Suravi && \ | ||
scl enable devtoolset-8 -- bash build/centos_build.sh && \ | ||
rm -rf ${HOME}/sources/ && \ | ||
yum -y remove devtoolset-8-gcc devtoolset-8-gcc-c++ make && \ | ||
yum -y remove cmake3 git && \ | ||
yum clean all |