-
Notifications
You must be signed in to change notification settings - Fork 10
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
a18118e
commit 9e9dbae
Showing
7 changed files
with
63 additions
and
109 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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
FROM centos:7 | ||
|
||
# Install requirements: update repo | ||
RUN yum update -y | ||
|
||
# Install requirements : install epel | ||
RUN yum install -y epel-release | ||
|
||
RUN \ | ||
yum install -y wget git epel-release redhat-lsb-core gcc gcc-c++ make centos-release-scl scl-utils &&\ | ||
yum install -y jsoncpp-devel gtest-devel openmpi-devel doxygen graphviz boost-program-options &&\ | ||
yum install -y cmake3 devtoolset-9 environment-modules rpm-build zlib-devel &&\ | ||
yum install -y rh-git227-git &&\ | ||
yum install -y libuuid-devel | ||
|
||
RUN \ | ||
echo "source scl_source enable rh-git227" >> ~/.bashrc &&\ | ||
echo "source scl_source enable devtoolset-9" >> ~/.bashrc | ||
|
||
# Add python and pip installation for antares-xpansion | ||
RUN yum install -y python3-pip &&\ | ||
python3 -m pip install --upgrade pip &&\ | ||
pip3 install pyinstaller pyyaml pytest numpy touch pytest-cov mkdocs mkdocs-material | ||
|
||
#create user | ||
RUN useradd user | ||
# USER user |