-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile base
More file actions
33 lines (29 loc) · 1.16 KB
/
Dockerfile base
File metadata and controls
33 lines (29 loc) · 1.16 KB
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
33
FROM python:slim
# update some stuff
RUN apt-get update
RUN apt-get install -y build-essential wget git vim xdg-utils graphviz
# install jupyterlab
RUN pip3 install jupyterlab
## install jupyterlab
#RUN pip uninstall -y jupyterlab && \
# pip install jupyterlab==1.0.2 && \
# jupyter labextension install @pyviz/jupyterlab_pyviz
#
## install and enable jupyter notebook extensions
#RUN conda install -y -c conda-forge jupyter_contrib_nbextensions && \
# jupyter contrib nbextension install --system
#
## install and enable jupyter notebook copy to clipboard functionality
#RUN jupyter nbextension install --sys-prefix https://github.com/njwhite/jupyter-clipboard/archive/master.tar.gz && \
# jupyter nbextension enable --sys-prefix jupyter-clipboard-master/jupyter-clipboard/main
# solve for issues in setup.py install (ale-py)
RUN pip3 install numpy
RUN pip3 install anytree
RUN pip3 install graphviz
RUN pip3 install gym
RUN pip3 install xgboost
RUN pip3 install scikit-learn
# how to build
# docker build --no-cache -t satorinet/sensorimotor:base .
# docker push satorinet/sensorimotor:base
# docker run --rm -it --name sensorimotor satorinet/sensorimotor:base bash