2024-12-25 16:31:30 +08:00
|
|
|
# FROM eoelab.org:1027/eoeair/jupyter:py-c AS builder
|
2024-03-17 15:40:43 +08:00
|
|
|
|
2024-09-26 13:29:29 +08:00
|
|
|
# COPY Maple2024.0LinuxX64Installer.run .
|
2024-03-17 15:40:43 +08:00
|
|
|
|
2024-09-26 13:29:29 +08:00
|
|
|
# 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
|
|
|
|
|
2024-12-25 16:31:30 +08:00
|
|
|
FROM eoelab.org:1027/eoeair/jupyter:maple AS builder
|
2024-03-17 15:40:43 +08:00
|
|
|
|
2024-12-25 16:31:30 +08:00
|
|
|
FROM eoelab.org:1027/eoeair/jupyter:py-c
|
2024-03-17 15:40:43 +08:00
|
|
|
|
2024-04-27 14:37:45 +08:00
|
|
|
ENV PATH="${PATH}:/opt/maple/bin"
|
2024-03-17 15:40:43 +08:00
|
|
|
|
2024-04-27 14:37:45 +08:00
|
|
|
COPY --chown="${NB_UID}:${NB_GID}" kernel /opt/base/share/jupyter/kernels/maple/
|
|
|
|
COPY --from=builder /opt/maple /opt/maple
|