enable mma maple matlab

This commit is contained in:
ben0i0d 2024-09-26 13:29:29 +08:00
parent 63e3804d88
commit d30f910329
5 changed files with 192 additions and 127 deletions

View File

@ -3,7 +3,7 @@ name: Build
on: [push]
jobs:
Base_Build:
Build:
runs-on: runner
steps:
- name: switch mirror
@ -22,193 +22,254 @@ jobs:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: py-c build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: python/cpu
tags: eoelab.org:1027/ben0i0d/jupyter:py-c
AI_C_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: scipy-c build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: scipy/cpu
tags: eoelab.org:1027/ben0i0d/jupyter:scipy-c
- name: build & push image
- name: pyai-c build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: pyai/cpu
tags: eoelab.org:1027/ben0i0d/jupyter:pyai-c
BigData_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: scrpy-c build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: scrpy
tags: eoelab.org:1027/ben0i0d/jupyter:scrpy
- name: build & push image
- name: pyspark build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: pyspark
tags: eoelab.org:1027/ben0i0d/jupyter:pyspark
- name: build & push image
- name: pyflink build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: pyflink
tags: eoelab.org:1027/ben0i0d/jupyter:pyflink
HPC_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: julia build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: julia
tags: eoelab.org:1027/ben0i0d/jupyter:julia
- name: build & push image
- name: r build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: r
tags: eoelab.org:1027/ben0i0d/jupyter:r
VNC_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: novnc build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: novnc
tags: eoelab.org:1027/ben0i0d/jupyter:novnc
- name: build & push image
- name: pyqt6 build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: pyqt6
tags: eoelab.org:1027/ben0i0d/jupyter:pyqt6
Octave_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: octave build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: octave
tags: eoelab.org:1027/ben0i0d/jupyter:octave
Sagemath_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: sagemath build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: sagemath
tags: eoelab.org:1027/ben0i0d/jupyter:sage
Scilab_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
- name: scilab build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: scilab
tags: eoelab.org:1027/ben0i0d/jupyter:scilab
# - name: maple build
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: maple
# tags: eoelab.org:1027/ben0i0d/jupyter:maple
# - name: mma build
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: mathematica
# tags: eoelab.org:1027/ben0i0d/jupyter:mma
- name: matlab build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: matlab/minimal
tags: eoelab.org:1027/ben0i0d/jupyter:matlab-minimal
- name: matlab-mcm build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: matlab/mcm
tags: eoelab.org:1027/ben0i0d/jupyter:matlab-mcm
# Push:
# runs-on: runner
# needs: Build
# steps:
# - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4
# - name: login gitea_registry
# uses: https://eoelab.org:1027/actions/login-action@v3
# with:
# username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWD }}
# - name: py-c push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: python/cpu
# tags: ben0i0d/jupyter:py-c
# - name: scipy push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: scipy/cpu
# tags: ben0i0d/jupyter:scipy-c
# - name: pyai-c push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: pyai/cpu
# tags: ben0i0d/jupyter:pyai-c
# - name: scrpy-c push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: scrpy
# tags: ben0i0d/jupyter:scrpy
# - name: pyspark push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: pyspark
# tags: ben0i0d/jupyter:pyspark
# - name: pyflink push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: pyflink
# tags: ben0i0d/jupyter:pyflink
# - name: julia push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: julia
# tags: ben0i0d/jupyter:julia
# - name: r push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: r
# tags: ben0i0d/jupyter:r
# - name: novnc push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: novnc
# tags: ben0i0d/jupyter:novnc
# - name: pyqt6 push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: pyqt6
# tags: ben0i0d/jupyter:pyqt6
# - name: octave push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: octave
# tags: ben0i0d/jupyter:octave
# - name: sagemath push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: sagemath
# tags: ben0i0d/jupyter:sage
# - name: scilab push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: scilab
# tags: ben0i0d/jupyter:scilab
# - name: maple push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: maple
# tags: ben0i0d/jupyter:maple
# - name: mma push
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# push: true
# context: mathematica
# tags: ben0i0d/jupyter:mma
- name: matlab push
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: matlab/minimal
tags: ben0i0d/jupyter:matlab-minimal
- name: matlab-mcm push
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: matlab/mcm
tags: ben0i0d/jupyter:matlab-mcm

View File

@ -1,11 +1,13 @@
FROM eoelab.org:1027/ben0i0d/jupyter:py-c AS builder
# FROM eoelab.org:1027/ben0i0d/jupyter:py-c AS builder
COPY Maple2024.0LinuxX64Installer.run .
# COPY Maple2024.0LinuxX64Installer.run .
USER root
# Two RUN layer to use cache
RUN chmod +x Maple2024.0LinuxX64Installer.run && \
./Maple2024.0LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0 && rm Maple2024.0LinuxX64Installer.run
# USER root
# # Two RUN layer to use cache
# RUN chmod +x Maple2024.0LinuxX64Installer.run && \
# ./Maple2024.0LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0 && rm Maple2024.0LinuxX64Installer.run
FROM eoelab.org:1027/ben0i0d/jupyter:maple AS builder
FROM eoelab.org:1027/ben0i0d/jupyter:py-c

View File

@ -1,13 +1,15 @@
FROM eoalab.org:1027/ben0i0d/jupyter:py-c AS builder
# FROM eoalab.org:1027/ben0i0d/jupyter:py-c AS builder
COPY Mathematica_14.0.0_LINUX.sh .
# COPY Mathematica_14.0.0_LINUX.sh .
USER root
# Two RUN layer to use cache
RUN apt-get update --yes && apt-get install --yes --no-install-recommends xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/* && \
bash Mathematica_14.0.0_LINUX.sh -- -auto -targetdir=/opt/Wolfram/Mathematica/14.0 && rm Mathematica_14.0.0_LINUX.sh
# USER root
# # Two RUN layer to use cache
# RUN apt-get update --yes && apt-get install --yes --no-install-recommends xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/* && \
# bash Mathematica_14.0.0_LINUX.sh -- -auto -targetdir=/opt/Wolfram/Mathematica/14.0 && rm Mathematica_14.0.0_LINUX.sh
RUN git clone --depth 1 https://github.com/WolframResearch/WolframLanguageForJupyter.git && mv WolframLanguageForJupyter /opt
# RUN git clone --depth 1 https://github.com/WolframResearch/WolframLanguageForJupyter.git && mv WolframLanguageForJupyter /opt
FROM eoalab.org:1027/ben0i0d/jupyter:mma AS builder
FROM eoalab.org:1027/ben0i0d/jupyter:py-c

View File

@ -1,4 +1,4 @@
FROM eoelab.org:1027/ben0i0d/jupyte:py-c
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root

View File

@ -1,4 +1,4 @@
FROM eoalab.org:1027/ben0i0d/jupyter:py-c
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root