From 9f32a8a98b6fa373a8d336e493bac4d138c405db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= <nthiery@users.sf.net>
Date: Fri, 9 Feb 2024 20:28:53 +0100
Subject: [PATCH] Fixes + Install some Julia packages

---
 Dockerfile-CI | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Dockerfile-CI b/Dockerfile-CI
index 88ba0fd..7e12491 100644
--- a/Dockerfile-CI
+++ b/Dockerfile-CI
@@ -1,11 +1,16 @@
 # A docker file for building the image on GitLab's CI
 FROM mambaorg/micromamba:latest
 COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder
+
+# Install files
+RUN cp -ra install_file/* /opt/conda/
+
+# Install conda packages
 RUN cd /tmp/binder && \
     micromamba install -y -n base -f environment.yml && \
     micromamba clean --all --yes && \
-    /usr/local/bin/_entrypoint.sh pip cache purge && \
-    cp mydocker_entrypoint.sh /opt/conda/bin/mydocker_entrypoint.sh && \
-    cp -ra install_file/* /opt/conda/
+
+# Install Julia packages
+RUN /usr/local/bin/_entrypoint.sh julia -e 'using Pkg; Pkg.add(["SymPy", "Symbolics", "Plots", "Widgets", "IJulia"])'
     
 RUN rm -rf /tmp/binder
-- 
GitLab