-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
46 lines (39 loc) · 1.1 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
44
45
46
# Setup
FROM jupyter/datascience-notebook
LABEL maintainer="QuantEcon Project <[email protected]>"
ARG PACKAGEVERSION=v0.9.5
# Install unzip for Electron and packages for Cairo
USER root
RUN apt-get update && apt-get install -y --no-install-recommends unzip \
gettext \
zlib1g-dev \
libffi-dev \
libpng-dev \
libpixman-1-dev \
libpoppler-dev \
librsvg2-dev \
libcairo2-dev \
libpango1.0-0 \
pandoc \
python-sphinx \
rsync \
vim \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Switch user back.
USER $NB_UID
# Jupinx stuff.
RUN pip install sphinxcontrib-bibtex && pip install nbconvert && \
git clone https://github.com/quantecon/sphinxcontrib-jupyter && \
cd sphinxcontrib-jupyter && \
python setup.py install
# AWS with verification.
RUN pip install --upgrade awscli && aws --version
# QuantEcon Python stuff.
RUN pip install quantecon && \
conda install sphinx=1.7.9 && \
conda install pybtex=0.21 && \
pip install qeds && \
pip install linearmodels && \
pip install interpolation
ADD ./julia_pkg.jl ./
RUN julia ./julia_pkg.jl