Skip to content
Snippets Groups Projects
pycif-debug.Dockerfile 692 B
Newer Older
# Build a Docker image that contains pyCIF and all requirements.
FROM pycif/pycif-ci:0.2

# Install MPI
RUN apt-get update \
    && apt-get install -y libopenmpi-dev openmpi-bin libhdf5-openmpi-dev \
# Install NetCDF
    && wget https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-fortran-4.5.3.tar.gz \
    && tar -xf netcdf-fortran-4.5.3.tar.gz \
    && cd netcdf-fortran-4.5.3 \
    && ./configure --prefix=${NCDIR} --disable-netcdf-4 \
    && make install;

COPY PYCIF_DATA_TEST /tmp/PYCIF_DATA_TEST
#RUN cd /tmp/CIF/ \
#    && python setup.py install
#
#RUN cd /tmp/CIF/config_files/tuto_chimere/ \
#    && python -m pycif config_chimere_fwd_academic_onespec.yml;