File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,19 @@ FROM ghcr.io/mamba-org/micromamba:latest
33USER root
44RUN apt-get update && apt-get install -y --no-install-recommends \
55 gmsh \
6+ curl \
7+ patchelf \
68 && rm -rf /var/lib/apt/lists/*
9+
10+ RUN curl -fL https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.3-linux-x86_64.tar.gz \
11+ | tar -C /usr/local -xz --strip-components=1
12+ RUN patchelf --clear-execstack /usr/local/lib/julia/libopenlibm.so
13+
714USER $MAMBA_USER
815
916COPY --chmod=777 . ${HOME}
1017
11- RUN micromamba install -y -n base -f environment.yml julia && micromamba clean --all --yes
18+ RUN micromamba install -y -n base -f environment.yml && micromamba clean --all --yes
1219ARG MAMBA_DOCKERFILE_ACTIVATE=1
1320RUN pip install --no-cache notebook jupyterlab
1421RUN pip install .
Original file line number Diff line number Diff line change 5555 miniforge-version : latest
5656 activate-environment : env
5757 use-mamba : true
58- python-version : " 3.11 "
58+ python-version : " 3.12 "
5959 - name : Add conda to system path
6060 run : |
6161 echo $CONDA/bin >> $GITHUB_PATH
6666 UV_SYSTEM_PYTHON : 1
6767 run : |
6868 sudo apt-get install -y libglu1-mesa
69- mamba install slepc4py=*=complex* uv -y
69+ mamba env create -f environment.yml
7070 uv pip install -r pyproject.toml
7171 - name : Build package
7272 env :
Original file line number Diff line number Diff line change 3636 UV_SYSTEM_PYTHON : 1
3737 run : |
3838 sudo apt-get install -y libglu1-mesa xvfb
39- mamba install slepc4py=*=complex* -y
39+ mamba env create -f environment.yml
4040 mamba install julia
4141 uv pip install .
4242 uv pip install "jupyter-book<2"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: conda_env
22channels :
33 - conda-forge
44dependencies :
5- - python
5+ - python=3.12
66 - pip
77 - slepc4py=*=complex*
88 - numpy
You can’t perform that action at this time.
0 commit comments