-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
53 lines (49 loc) · 1.05 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
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
LABEL maintainer="Satoshi Iwazaki <[email protected]>"
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update &&\
apt-get install -y software-properties-common \
build-essential \
git \
wget \
vim \
curl \
zip \
zlib1g-dev \
unzip \
pkg-config \
libblas-dev \
liblapack-dev \
python-dev \
python3-dev \
python3-pip \
python3-tk \
python3-wheel \
graphviz \
libhdf5-dev \
swig && \
ln -s /usr/bin/python3 /usr/local/bin/python && \
ln -s /usr/bin/pip3 /usr/local/bin/pip && \
pip install --upgrade pip && \
apt-get clean && \
# best practice to keep the Docker image lean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install essential Python packages
RUN pip3 --no-cache-dir install \
pytest \
numpy \
matplotlib \
scipy \
pandas \
jupyter \
scikit-learn \
seaborn \
graphviz \
gpustat \
tensorflow-gpu \
keras \
h5py \
jupyterlab \
scikit-learn
WORKDIR /notebooks