-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
67 lines (56 loc) · 1.7 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
57
58
59
60
61
62
63
64
65
66
FROM nvcr.io/nvidia/l4t-base:r32.2.1
LABEL maintainer="ABU ZAHER MD FARIDEE <[email protected]>"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
libfreetype6-dev \
libhdf5-dev \
libpng-dev \
libzmq3-dev \
pkg-config \
python3-dev \
python3-numpy \
python3-scipy \
python3-sklearn \
python3-matplotlib \
python3-pandas \
rsync \
unzip \
zlib1g-dev \
zip \
libjpeg8-dev \
hdf5-tools \
libhdf5-serial-dev \
python3-pip \
python3-setuptools
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install -U pip -v
RUN pip3 --no-cache-dir install -U -v \
jupyter \
grpcio \
absl-py \
py-cpuinfo \
psutil \
portpicker \
six mock \
requests \
gast \
h5py \
astor \
termcolor \
protobuf \
keras \
keras-applications \
keras-preprocessing \
wrapt \
google-pasta
RUN pip3 --no-cache-dir install --pre -v --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 \
tensorflow-gpu==1.14.0+nv19.10
RUN curl -L https://nvidia.box.com/shared/static/phqe92v26cbhqjohwtvxorrwnmrnfx1o.whl > /tmp/torch-1.3.0-cp36-cp36m-linux_aarch64.whl && \
pip3 --no-cache-dir -v install /tmp/torch-1.3.0-cp36-cp36m-linux_aarch64.whl && \
rm /tmp/torch-1.3.0-cp36-cp36m-linux_aarch64.whl
EXPOSE 8888 6006
RUN mkdir -p /notebooks
CMD ["jupyter", "notebook", "--no-browser", "--ip=0.0.0.0", "--allow-root", "--notebook-dir='/notebooks'"]