generated from ucsd-ets/datahub-example-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (22 loc) · 933 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 1) choose base container
# generally use the most recent tag
# base notebook, contains Jupyter and relevant tools
# See https://github.com/ucsd-ets/datahub-docker-stack/wiki/Stable-Tag
# for a list of the most current containers we maintain
ARG BASE_CONTAINER=ucsdets/datahub-base-notebook:2023.1-stable
FROM $BASE_CONTAINER
LABEL maintainer="UC San Diego ITS/ETS <[email protected]>"
# 2) change to root to install packages
USER root
RUN apt-get update
RUN apt-get -y install htop clamav clamav-daemon tmux git nano tcpdump
# test btop
# RUN apt-get -y install bpytop
# 3) install packages using notebook user
USER $NB_UID
# RUN conda install -y scikit-learn
RUN pip install --no-cache-dir networkx scipy tqdm ipywidgets numpy
# Testing for DSC170
RUN pip install --no-cache-dir pandas geopandas keplergl mesa-geo mesa matplotlib
# Override command to disable running jupyter notebook at launch
# CMD ["/bin/bash"]