Skip to content
Snippets Groups Projects
Dockerfile-CI 458 B
# A docker file for building the image on GitLab's CI
FROM mambaorg/micromamba:latest
COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder

# Install conda packages
RUN cd /tmp/binder && \
    micromamba install -y -n base -f environment.yml && \
    micromamba clean --all --yes
    
# Install configuration files
# After installing the packages to make sure these
# take precedence
RUN cp -rav /tmp/binder/install_files/* /opt/conda/

RUN rm -rf /tmp/binder