forked from JADE-V-V/JADE
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
3 changed files
with
47 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 |
---|---|---|
|
@@ -17,3 +17,4 @@ docs/source/_templates/ | |
JADE.egg-info/ | ||
jade.egg-info/ | ||
build/ | ||
venv/* |
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,23 @@ | ||
FROM openmc/openmc:latest | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update && apt install -y \ | ||
build-essential tcl-dev less \ | ||
curl python3 python3-pip | ||
|
||
RUN curl -LJO https://github.com/cea-hpc/modules/releases/download/v5.3.1/modules-5.3.1.tar.gz && \ | ||
tar xfz modules-5.3.1.tar.gz && \ | ||
cd modules-5.3.1 && \ | ||
./configure && \ | ||
make && \ | ||
make install && \ | ||
echo "source /usr/local/Modules/init/sh" >> /root/.bashenv \ | ||
echo "[[ -s ~/.bashenv ]] && source ~/.bashenv" >> /root/.bash_profile \ | ||
echo "[[ -s ~/.bashenv ]] && source ~/.bashenv" >> /root/.bashrc | ||
ENV BASH_ENV=/root/.bashenv | ||
|
||
#RUN pip install install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple jadevv | ||
COPY . /jade | ||
WORKDIR /jade | ||
RUN pip install . | ||
RUN pip install pytest pytest-cov |
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,23 @@ | ||
FROM ubuntu:22.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update && apt install -y \ | ||
build-essential tcl-dev less \ | ||
curl python3 python3-pip | ||
|
||
RUN curl -LJO https://github.com/cea-hpc/modules/releases/download/v5.3.1/modules-5.3.1.tar.gz && \ | ||
tar xfz modules-5.3.1.tar.gz && \ | ||
cd modules-5.3.1 && \ | ||
./configure && \ | ||
make && \ | ||
make install && \ | ||
echo "source /usr/local/Modules/init/sh" >> /root/.bashenv \ | ||
echo "[[ -s ~/.bashenv ]] && source ~/.bashenv" >> /root/.bash_profile \ | ||
echo "[[ -s ~/.bashenv ]] && source ~/.bashenv" >> /root/.bashrc | ||
ENV BASH_ENV=/root/.bashenv | ||
|
||
#RUN pip install install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple jadevv | ||
COPY . /jade | ||
WORKDIR /jade | ||
RUN pip install . | ||
RUN pip install pytest pytest-cov |