From f774944b75dd68e2decf911365a137a35ab0e7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= <nthiery@users.sf.net> Date: Thu, 20 Jun 2024 15:18:06 +0200 Subject: [PATCH] Fixed configuration file installation The file from here take precedence over the files from elsewhere. --- Dockerfile-CI | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile-CI b/Dockerfile-CI index d514d86..a105165 100644 --- a/Dockerfile-CI +++ b/Dockerfile-CI @@ -2,12 +2,14 @@ FROM mambaorg/micromamba:latest COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder -# Install files -RUN cp -ra /tmp/binder/install_files/* /opt/conda/ - # 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 -- GitLab