This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
forked from andresvidal/jupyter-armv7l
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
56 lines (50 loc) · 1.57 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
47
48
49
50
51
52
53
54
55
56
# Copyright (c) Andres Vidal.
# Distributed under the terms of the MIT License.
FROM arm32v7/python:3.8
LABEL created_by=https://github.com/andresvidal/jupyter-armv7l
ARG wheelhouse=https://github.com/andresvidal/jupyter-armv7l/raw/master/wheelhouse
# Install all OS dependencies for fully functional notebook server
# https://github.com/jupyter/docker-stacks/blob/master/minimal-notebook/Dockerfile
RUN apt-get update && apt-get install -yq --no-install-recommends \
build-essential \
emacs \
git \
inkscape \
jed \
libsm6 \
libxext-dev \
libxrender1 \
lmodern \
netcat \
pandoc \
python-dev \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-xetex \
tzdata \
unzip \
nano \
wget \
bzip2 \
ca-certificates \
locales \
libblas-dev \
liblapack-dev \
gfortran \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
RUN pip install \
$wheelhouse/kiwisolver-1.1.0-cp38-cp38-linux_armv7l.whl \
$wheelhouse/matplotlib-3.1.1-cp38-cp38-linux_armv7l.whl \
$wheelhouse/numpy-1.17.4-cp38-cp38-linux_armv7l.whl \
$wheelhouse/scipy-1.3.2-cp38-cp38-linux_armv7l.whl \
$wheelhouse/pandas-0.25.3-cp38-cp38-linux_armv7l.whl \
$wheelhouse/pyzmq-18.1.1-cp38-cp38-linux_armv7l.whl \
--upgrade jupyter
RUN jupyter notebook --generate-config
WORKDIR /notebooks
ENTRYPOINT ["jupyter", "notebook", "--ip=*", "--allow-root", "--no-browser"]