#FROM continuumio/miniconda3:jessie-20190506 FROM bsces/miniconda3:debian-stretch-20190610 # update the conda packages RUN conda update -y conda pip # # install development tools # RUN apt-get update -y && apt-get install -y \ # build-essential \ # curl \ # unzip # install environment packages COPY . /home/root/source WORKDIR /home/root/source RUN ls RUN conda env update --name base --file environment.yml && conda clean --all -y RUN git clone https://earth.bsc.es/gitlab/es/diagonals.git RUN pip install ./diagonals RUN pip install /home/root/source RUN rm -r diagonals RUN rm -r /home/root/source # run tests RUN earthdiags -h ENTRYPOINT ["earthdiags"] CMD ["-h"]