@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
6
6
PIP_IGNORE_INSTALLED=0 \
7
7
PYTHONUNBUFFERED=1 \
8
8
LD_LIBRARY_PATH="/usr/local/cuda/compat/lib:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/lib:/usr/local/cuda/lib64:/usr/local/nvidia/lib64:/usr/include/x86_64-linux-gnu" \
9
- PATH="/usr/local/nvm/versions/node/v14.9.0 /bin:/opt/conda/bin:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin:/opt/tensorrt/bin:/usr/local/src/lightgbm/LightGBM:/usr/local/bin/mecab" \
9
+ PATH="/usr/local/nvm/versions/node/v16.6.1 /bin:/opt/conda/bin:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin:/opt/tensorrt/bin:/usr/local/src/lightgbm/LightGBM:/usr/local/bin/mecab" \
10
10
mecab_dicdir=/usr/local/lib/mecab/dic/mecab-ko-dic \
11
11
CPLUS_INCLUDE_PATH=/usr/include/gdal \
12
12
C_INCLUDE_PATH=/usr/include/gdal \
@@ -15,13 +15,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
15
15
RUN apt-get update && \
16
16
apt-get install -y --no-install-recommends \
17
17
automake \
18
+ ffmpeg \
18
19
fonts-nanum \
19
20
fonts-nanum-coding \
20
21
fonts-nanum-extra \
21
- pdsh \
22
22
gfortran \
23
23
htop \
24
- ffmpeg \
25
24
libasound2-dev \
26
25
libatlas-base-dev \
27
26
libavresample-dev \
@@ -47,16 +46,17 @@ RUN apt-get update && \
47
46
libxext6 \
48
47
libxrender-dev \
49
48
libxvidcore-dev \
49
+ libsm6 \
50
+ libtbb-dev \
50
51
mercurial \
51
52
ncurses-term \
53
+ openjdk-8-jdk \
54
+ pdsh \
52
55
protobuf-compiler \
53
56
v4l-utils \
54
- x264 \
55
- openjdk-8-jdk \
56
- libsm6 \
57
- libtbb-dev
57
+ x264
58
58
59
- # Install CUDA-11.4 + cuDNN 8.2.0
59
+ # Install CUDA-11.4 + cuDNN 8.2.4
60
60
RUN ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so.8.2.4 /usr/local/cuda/lib64/libcudnn.so && \
61
61
rm -rf /var/lib/apt/lists/* && \
62
62
ldconfig
@@ -73,10 +73,6 @@ RUN git clone https://github.com/Syllo/nvtop.git && \
73
73
74
74
RUN update-alternatives --install /opt/conda/bin/python python /opt/conda/bin/python3 2
75
75
76
- WORKDIR /tmp
77
- RUN curl https://bootstrap.pypa.io/get-pip.py | python3 && \
78
- python3 -m pip install --no-cache-dir -U setuptools pip
79
-
80
76
# install NLP packages *mecab-ko & khai*
81
77
WORKDIR /tmp
82
78
RUN curl -LO https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz && \
@@ -117,26 +113,9 @@ RUN git clone --recursive https://github.com/bodono/scs-python.git && \
117
113
118
114
RUN /opt/conda/bin/conda install -c conda-forge opencv ffmpeg spacy
119
115
120
- RUN /opt/conda/bin/python3 -m pip install --no-cache-dir \
121
- pystan==3.3.0 \
122
- pycairo==1.20.1 \
123
- typeguard==2.12.1 \
124
- python-language-server[all] \
125
- pythran \
126
- matplotlib==3.4.3
127
- RUN python3 -m pip install -U --no-cache-dir \
128
- numpy==1.21.4 \
129
- pandas==1.3.4 \
130
- pythran \
131
- scikit-learn==1.0.1 \
132
- hypothesis==6.24.2 \
133
- python-lsp-server \
134
- && \
135
- python3 setup.py install
136
-
137
116
WORKDIR /tmp
138
117
COPY ./requirements.21.10.txt /tmp/requirements.txt
139
- RUN /opt/conda/bin/python3 -m pip install --no-cache-dir --ignore-installed - r requirements.txt && \
118
+ RUN /opt/conda/bin/python3 -m pip install --no-cache-dir -r requirements.txt && \
140
119
rm -f /tmp/*.whl /tmp/requirements.txt
141
120
142
121
# install git-lfs
0 commit comments