File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM tensorflow/tensorflow:latest-gpu-jupyter
2
+ LABEL maintainer=
"[email protected] "
3
+
4
+ ARG proxy
5
+
6
+ ENV http_proxy $proxy
7
+ ENV https_proxy $proxy
8
+
9
+ RUN echo "check_certificate = off" >> ~/.wgetrc
10
+ RUN echo "[global] \n \
11
+ trusted-host = pypi.python.org \n \
12
+ \t pypi.org \n \
13
+ \t files.pythonhosted.org" >> /etc/pip.conf
14
+
15
+ # >> START Install base software
16
+ # Basic update and Set the locale to en_US.UTF-8, because the Yocto build fails without any locale set.
17
+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends locales ca-certificates && rm -rf /var/lib/apt/lists/*
18
+
19
+ # Locale set to something minimal like POSIX
20
+ RUN locale-gen en_US.UTF-8 && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
21
+ ENV LANG en_US.UTF-8
22
+ ENV LC_ALL en_US.UTF-8
23
+
24
+ # Exit when RUN get non-zero value
25
+ RUN set -e
26
+
27
+ # Get basic packages
28
+ RUN apt-get update && apt-get install -y --no-install-recommends \
29
+ build-essential \
30
+ curl \
31
+ wget \
32
+ git \
33
+ python \
34
+ python-dev \
35
+ python-pip \
36
+ python-wheel \
37
+ python-numpy \
38
+ python3 \
39
+ python3-dev \
40
+ python3-pip \
41
+ python3-wheel \
42
+ python3-numpy \
43
+ python3-setuptools \
44
+ libcurl3-dev \
45
+ gcc \
46
+ sox \
47
+ libsox-fmt-mp3 \
48
+ htop \
49
+ nano \
50
+ swig \
51
+ cmake \
52
+ libboost-all-dev \
53
+ zlib1g-dev \
54
+ libbz2-dev \
55
+ liblzma-dev \
56
+ pkg-config \
57
+ libsox-dev
58
+
59
+ # Install TF dep
60
+ RUN pip install scikit-image keras
61
+
You can’t perform that action at this time.
0 commit comments