2020-10-19 23:10:23 +00:00
|
|
|
FROM codercom/enterprise-base:centos
|
2020-05-01 23:01:51 +00:00
|
|
|
|
2020-10-19 23:10:23 +00:00
|
|
|
# Run everything as root
|
2022-02-16 23:35:18 +00:00
|
|
|
USER root
|
2020-05-01 23:01:51 +00:00
|
|
|
|
2022-05-16 14:08:48 +00:00
|
|
|
# Install required dependencies
|
|
|
|
RUN dnf install --assumeyes \
|
|
|
|
platform-python-devel
|
|
|
|
|
2020-05-01 23:01:51 +00:00
|
|
|
# Install jupyter
|
2022-07-17 23:46:03 +00:00
|
|
|
RUN python3 -m pip install --upgrade pip && \
|
|
|
|
pip3 install --upgrade setuptools && \
|
2023-01-11 22:24:41 +00:00
|
|
|
pip3 install jupyterlab==3.2.9 && \
|
|
|
|
pip3 install jupyter-core==4.6.3 && \
|
|
|
|
pip3 install notebook==6.4.10
|
2020-08-04 11:42:25 +00:00
|
|
|
|
2020-10-19 23:10:23 +00:00
|
|
|
# Set back to coder user
|
2022-02-16 23:35:18 +00:00
|
|
|
USER coder
|