Commit a8590f35 authored by Vigeesh Gangadharan's avatar Vigeesh Gangadharan
Browse files

Add Dockerfile

parent cb67b4ab
Pipeline #2631 passed with stage
in 3 minutes and 2 seconds
FROM continuumio/miniconda3:latest
WORKDIR /home/grisuser
VOLUME /home/grisuser
RUN apt-get update --fix-missing && \
apt-get -qq install -y make && \
apt-get clean && \
conda create -n gris_inv -c conda-forge mpi4py numpy scipy gfortran_linux-64 lapack matplotlib && \
conda clean --all &&\
echo "source activate gris_inv" >> ~/.bashrc
ENV PATH /opt/conda/envs/gris_inv/bin:$PATH
SHELL ["conda", "run", "-n", "gris_inv", "/bin/bash", "-c"]
RUN pip install git+https://gitlab.leibniz-kis.de/sdc/grisinv.git && \
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment