Skip to content
Snippets Groups Projects
Dockerfile-CI 510 B
Newer Older
Nicolas M. Thiéry's avatar
Nicolas M. Thiéry committed
# 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
Nicolas M. Thiéry's avatar
Nicolas M. Thiéry committed
RUN cd /tmp/binder && \
    micromamba install -y -n base -f environment.yml && \
    micromamba clean --all --yes && \

# Install Julia packages
RUN /usr/local/bin/_entrypoint.sh julia -e 'using Pkg; Pkg.add(["SymPy", "Symbolics", "Plots", "Widgets", "IJulia"])'
Nicolas M. Thiéry's avatar
Nicolas M. Thiéry committed
    
RUN rm -rf /tmp/binder