forked from HeinrichHartmann/DS4OPS
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (26 loc) · 791 Bytes
/
Dockerfile
File metadata and controls
36 lines (26 loc) · 791 Bytes
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
34
35
36
FROM jupyter/scipy-notebook
MAINTAINER Heinrich Hartmann <heinrich@heinrichhartmann.com>
USER root
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y\
emacs \
tmux \
curl \
less
# Give $NB_USER passwordless sudo
RUN printf "$NB_USER\tALL=(ALL)\tNOPASSWD: ALL" > /etc/sudoers.d/$NB_USER
USER $NB_USER
RUN pip install \
jupyter_contrib_nbextensions \
jupyter_nbextensions_configurator
RUN jupyter contrib nbextension install --user &&\
jupyter nbextensions_configurator enable --user
# install latest circonusapi package from GitHUb
RUN (cd /tmp && \
git clone https://github.com/circonus-labs/python-circonusapi.git && \
cd python-circonusapi && \
python setup.py install)
EXPOSE 9999
ADD cmd.sh ./
CMD ["./cmd.sh"]