repair lua && remove sci[y-gpu
This commit is contained in:
parent
e7ef2b23e3
commit
8e14ce4561
@ -14,17 +14,17 @@ jobs:
|
||||
context: python/cpu
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:py-c
|
||||
|
||||
SCIPY_C:
|
||||
SCIPY:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: https://eoelab.org:1027/actions/checkout@v4
|
||||
- name: scipy-c build
|
||||
- name: scipy build
|
||||
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||
with:
|
||||
context: ScienceCompute/scipy/cpu
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:scipy-c
|
||||
context: ScienceCompute/scipy
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:scipy
|
||||
|
||||
PYAI_C:
|
||||
runs-on: runner
|
||||
@ -179,6 +179,19 @@ jobs:
|
||||
context: Program/julia
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:julia
|
||||
|
||||
LUA:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: https://eoelab.org:1027/actions/checkout@v4
|
||||
- name: lua build
|
||||
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||
with:
|
||||
context: Program/lua
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:lua
|
||||
|
||||
|
||||
R:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
@ -301,7 +314,7 @@ jobs:
|
||||
|
||||
Push:
|
||||
runs-on: runner
|
||||
needs: [CPP] #MATLAB_MCM, MAPLE, MMA
|
||||
needs: [OCTAVE] #MATLAB_MCM, MAPLE, MMA
|
||||
steps:
|
||||
- name: login gitea_registry
|
||||
uses: https://eoelab.org:1027/actions/login-action@v3
|
||||
|
@ -5,7 +5,7 @@ USER root
|
||||
# But it seems to be slower, that's why we use recommended site for download
|
||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
wget -qO "flink.tgz" "https://mirrors.ustc.edu.cn/apache/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz" && \
|
||||
wget -qO "flink.tgz" "https://mirrors.tuna.tsinghua.edu.cn/apache/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz" && \
|
||||
tar xzf "flink.tgz" -C /usr/local --no-same-owner && rm "flink.tgz"
|
||||
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
|
||||
|
@ -5,7 +5,7 @@ USER root
|
||||
# But it seems to be slower, that's why we use recommended site for download
|
||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
wget -qO "spark.tgz" "https://mirrors.ustc.edu.cn/apache/spark/spark-3.5.3/spark-3.5.3-bin-hadoop3.tgz" && \
|
||||
wget -qO "spark.tgz" "https://mirrors.tuna.tsinghua.edu.cn/apache/spark/spark-3.5.3/spark-3.5.3-bin-hadoop3.tgz" && \
|
||||
tar xzf "spark.tgz" -C /usr/local --no-same-owner && rm "spark.tgz"
|
||||
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
|
||||
|
@ -8,6 +8,5 @@ RUN apt-get update --yes && \
|
||||
|
||||
USER ${NB_UID}
|
||||
|
||||
# Install Octave kernel
|
||||
RUN pip install octave_kernel && \
|
||||
pip cache purge
|
||||
pip cache purge
|
@ -4,7 +4,7 @@ USER root
|
||||
|
||||
# install Julia packages in /opt/julias
|
||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends gnupg && apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
pip --no-cache-dir install jill && jill install --confirm
|
||||
pip install jill && jill install --confirm
|
||||
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
|
||||
|
||||
|
7
Program/lua/.condarc
Normal file
7
Program/lua/.condarc
Normal file
@ -0,0 +1,7 @@
|
||||
channels:
|
||||
- defaults
|
||||
show_channel_urls: true
|
||||
default_channels:
|
||||
- https://mirrors.ustc.edu.cn/anaconda/pkgs/main
|
||||
custom_channels:
|
||||
conda-forge: https://mirrors.ustc.edu.cn/anaconda/cloud
|
@ -1,16 +1,29 @@
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c AS builder
|
||||
|
||||
ENV MAMBA_ROOT_PREFIX=/opt/mamba
|
||||
|
||||
COPY .condarc /opt/mamba/.condarc
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /opt
|
||||
RUN apt-get update --yes && apt-get install --yes wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
wget https://eoelab.org:1027/ben0i0d/sources/raw/commit/ebbcba790d7b1804efde0715592a0665f6b81fbd/micromamba && \
|
||||
chmod +x micromamba && \
|
||||
./micromamba install --yes --root-prefix /opt/mamba xeus-lua -c conda-forge && \
|
||||
./micromamba clean --yes --all
|
||||
|
||||
RUN apt-get update --yes && \
|
||||
apt-get install --yes --no-install-recommends lua5.4 && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
pip install ilua
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
|
||||
|
||||
COPY --chown="${NB_UID}:${NB_GID}" --from=builder /opt/mamba /opt/mamba
|
||||
|
||||
ENV PATH="/opt/mamba/bin:${PATH}"
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends lua5.4 && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER ${NB_UID}
|
||||
WORKDIR "${HOME}"
|
||||
|
||||
RUN jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xlua --sys-prefix
|
@ -1,12 +0,0 @@
|
||||
FROM eoelab.org:1027/ben0i0d/jupyter:py-g
|
||||
|
||||
# Install Python 3 packages
|
||||
RUN pip install \
|
||||
# Data analysis and visualization
|
||||
'matplotlib' \
|
||||
# Machine learning and data mining
|
||||
'duckdb' \
|
||||
# Scientific calculations and statistical analysis
|
||||
'numpy' &&\
|
||||
pip cache purge && \
|
||||
MPLBACKEND=Agg python -c "import matplotlib.pyplot"
|
Loading…
x
Reference in New Issue
Block a user