Skip to content

Instantly share code, notes, and snippets.

Last active Feb 18, 2021
What would you like to do?
Running Jupyter with SysML in a Docker container
# Using
Copy the Dockerfile to a directory and in that directory do
prompt> docker build -t sysml .
Once the image has built, run it using:
prompt> docker run -p 8888:8888 -t sysml:latest
Then use your favourite browser to visit
You should then be in SysML Jupyter.
FROM openjdk:17-slim
RUN apt-get --quiet --yes update && apt-get install -yqq \
emacs \
## Miniconda installation page:
RUN wget -q
## SysML page:
RUN wget -q
RUN chmod 755 /root/
RUN mkdir /usr/conda
RUN /root/ -f -b -p /usr/conda
RUN /usr/conda/condabin/conda init
RUN tar xzf 2021-01.tar.gz
WORKDIR /root/SysML-v2-Release-2021-01/install/jupyter
ENV PATH="/usr/conda/bin:/usr/conda/condabin:/usr/local/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
RUN ./
WORKDIR /root/SysML-v2-Release-2021-01/
ENTRYPOINT ["jupyter", "lab", \
"--allow-root", \
"--ip", "", \
"--port", "8888"]

This comment has been minimized.

Copy link
Owner Author

@gorenje gorenje commented Feb 18, 2021

This is now moved to a repo -->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment