Skip to content

Commit 0954ce9

Browse files
committed
NGC Tensorflow 20.12 (TF2.3, CUDA11)
1 parent 95ff158 commit 0954ce9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

vendor/ngc-tensorflow/Dockerfile.20.12-tf2-py3

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ FROM nvcr.io/nvidia/tensorflow:20.12-tf2-py3
22
# NVIDIA DIGITS runs on Python 3.8
33

44
RUN apt-get update && \
5-
apt-get install -y libsm6 libxext6 libxrender-dev
6-
5+
apt-get install -y libsm6 libxext6 libxrender-dev mercurial libgdal-dev python3-gdal \
6+
libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev \
7+
libsmpeg-dev libportmidi-dev libavformat-dev libswscale-dev
8+
9+
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
10+
ENV C_INCLUDE_PATH=/usr/include/gdal
711
ENV DEBIAN_FRONTEND=noninteractive \
812
MPLBACKEND=Svg \
913
PYTHONUNBUFFERED=1 \
@@ -14,10 +18,6 @@ ENV DEBIAN_FRONTEND=noninteractive \
1418

1519
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
1620

17-
#WORKDIR /tmp
18-
#RUN curl https://bootstrap.pypa.io/get-pip.py | python3 && \
19-
# python3 -m pip install --no-cache-dir -U setuptools pip
20-
2121
# install NLP packages *mecab-ko & khai*
2222
RUN apt-get update && \
2323
apt-get install -y \
@@ -38,7 +38,7 @@ RUN apt-get update && \
3838
RUN echo "Install mecab-ko-dic" && \
3939
cd /tmp && \
4040
ldconfig && \
41-
curl -LO https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.1.1-20180720.tar.gzv && \
41+
curl -LO https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.1.1-20180720.tar.gz && \
4242
tar -zxvf mecab-ko-dic-2.1.1-20180720.tar.gz && \
4343
cd mecab-ko-dic-2.1.1-20180720 && \
4444
./autogen.sh && \
@@ -147,6 +147,7 @@ RUN mkdir -p /opt/oracle && \
147147

148148
WORKDIR /tmp
149149
RUN python3 -m pip install --no-cache-dir \
150+
Cython==0.29.21 \
150151
argon2_cffi==20.1.0
151152
COPY ./requirements.txt /tmp
152153
RUN python3 -m pip install --no-cache-dir -r requirements.txt && \
@@ -160,7 +161,7 @@ RUN cd /tmp && \
160161
cp site.cfg.example site.cfg && \
161162
pip uninstall -y typing && \
162163
python3 -m pip install .
163-
164+
164165

165166
# install git-lfs
166167
WORKDIR /tmp

0 commit comments

Comments
 (0)