repair cadabra2

This commit is contained in:
ben0i0d 2024-10-05 00:24:58 +08:00
parent 3de6ee1ef1
commit 5fee4c5637
5 changed files with 7 additions and 17 deletions

View File

@ -117,12 +117,17 @@ jobs:
context: Program/c
tags: eoelab.org:1027/${{ gitea.repository }}:c
CADABRA:
CADABRA2:
runs-on: runner
needs: Base
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: cadabra2 build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: Program/cadabra2
tags: eoelab.org:1027/${{ gitea.repository }}:cadabra2
CHAPEL:
runs-on: runner
@ -273,7 +278,7 @@ jobs:
Push:
runs-on: runner
needs: [ANSIBLE] #MATLAB_MCM, MAPLE, MMA
needs: [CADABRA2] #MATLAB_MCM, MAPLE, MMA
steps:
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -1,17 +1,12 @@
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root
WORKDIR /opt
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends cadabra2 && \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER ${NB_UID}
WORKDIR "${HOME}"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b861c9a354f6fcf66081256f7ec703d6dd2cd68ea363b400d10ac00bf308679
size 87940930

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a40fd619303a62fc06e0c82a6e23c12ca48a3ed2c640cec1ccae819b2cf9a663
size 190690700

View File

@ -1,12 +1,8 @@
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root
# Install fortran kernel
RUN mamba install --yes -c conda-forge lfortran && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
USER ${NB_UID}