jupyter/maple/Dockerfile

15 lines
552 B
Docker
Raw Normal View History

2024-09-26 02:23:46 +08:00
FROM eoelab.org:1027/ben0i0d/jupyter:py-c AS builder
2024-03-17 15:40:43 +08:00
2024-04-27 14:37:45 +08:00
COPY Maple2024.0LinuxX64Installer.run .
2024-03-17 15:40:43 +08:00
2024-04-27 14:37:45 +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-03-17 15:40:43 +08:00
2024-09-26 02:23:46 +08:00
FROM eoelab.org:1027/ben0i0d/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