dockerfile 469 Bytes
Newer Older
#FROM continuumio/miniconda3:jessie-20190506
FROM bsces/miniconda3:debian-stretch-20190610

COPY . /src/earthdiagnostics
WORKDIR /src
RUN git clone https://earth.bsc.es/gitlab/es/diagonals.git
RUN conda update -y conda pip && conda env update --name base --file earthdiagnostics/environment.yml && conda clean --all -y
RUN pip install ./diagonals ./earthdiagnostics && pip cache purge
RUN rm -r /src

# run tests
RUN earthdiags -h

ENTRYPOINT ["earthdiags"]
CMD ["-h"]