Skip to content

Commit 037d79e

Browse files
committed
Update Dockerfile
1 parent 1d0ccb4 commit 037d79e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

table_recognition/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM nvidia/cuda:11.6.2-devel-ubuntu20.04 as base
33
# FROM nvidia/cuda:11.6.0-cudnn8-runtime-ubuntu18.04 as base
44

55
RUN apt-get update -qqy && \
6-
apt-get install -y \
6+
DEBIAN_FRONTEND=noninteractive apt-get install -y \
77
build-essential \
88
cmake \
99
curl \
@@ -16,13 +16,14 @@ RUN apt-get update -qqy && \
1616
locales \
1717
pkg-config \
1818
poppler-utils \
19-
python3.7 python3.7-dev python3.7-distutils \
19+
# python3.8 python3.8-dev python3.7-distutils \
20+
python3.8 python3.8-dev \
2021
python3-pip \
2122
software-properties-common \
2223
unzip \
2324
wget \
2425
&& \
25-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1 \
26+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 \
2627
&& \
2728
apt-get clean && \
2829
apt-get autoremove && \

text_recognition/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM nvidia/cuda:11.6.2-devel-ubuntu20.04 as base
33
# FROM nvidia/cuda:11.6.0-cudnn8-runtime-ubuntu18.04 as base
44

55
RUN apt-get update -qqy && \
6-
apt-get install -y \
6+
DEBIAN_FRONTEND=noninteractive apt-get install -y \
77
build-essential \
88
cmake \
99
curl \
@@ -16,13 +16,14 @@ RUN apt-get update -qqy && \
1616
locales \
1717
pkg-config \
1818
poppler-utils \
19-
python3.7 python3.7-dev python3.7-distutils \
19+
# python3.7 python3.7-dev python3.7-distutils \
20+
python3.8 python3.8-dev \
2021
python3-pip \
2122
software-properties-common \
2223
unzip \
2324
wget \
2425
&& \
25-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1 \
26+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 \
2627
&& \
2728
apt-get clean && \
2829
apt-get autoremove && \

0 commit comments

Comments
 (0)