-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
43 lines (35 loc) · 1.18 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:14.04
MAINTAINER Weixiang Yu <[email protected]>
#ENVS
ENV HOME /root
ENV SHELL /bin/bash
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV TERM xterm
# BASICS
RUN apt-get update
RUN apt-get install -y nano git curl net-tools build-essential vim unzip libaio1 pkg-config
RUN apt-get install -y gfortran
#MONGO
RUN sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
RUN echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sour$
RUN sudo apt-get update
RUN sudo apt-get install -y mongodb-org
# Create the MongoDB data directory
RUN mkdir -p /data/db
# packages for vizic
RUN apt-get install -y python3-pip python3-dev python3-numpy
RUN sudo pip3 install --upgrade pip
RUN sudo pip3 install tornado
RUN sudo pip3 install motor==1.0
RUN sudo pip3 install pandas
RUN sudo pip3 install jupyter
RUN sudo pip3 install requests uuid
RUN sudo pip install vizic
# enable jupyter extensions
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
RUN jupyter nbextension enable --py --sys-prefix vizic
# Expose port #8888 from the container to the host
EXPOSE 8888