17 lines
616 B
Docker
17 lines
616 B
Docker
# FROM eoelab.org:1027/eoeair/jupyter:py-c AS builder
|
|
|
|
# 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
|
|
|
|
FROM eoelab.org:1027/eoeair/jupyter:maple AS builder
|
|
|
|
FROM eoelab.org:1027/eoeair/jupyter:py-c
|
|
|
|
ENV PATH="${PATH}:/opt/maple/bin"
|
|
|
|
COPY --chown="${NB_UID}:${NB_GID}" kernel /opt/base/share/jupyter/kernels/maple/
|
|
COPY --from=builder /opt/maple /opt/maple |