Skip to content

Commit 8369def

Browse files
committed
Update Dockerfile to use Python 3.10 and adjust package installation
1 parent 61ac28d commit 8369def

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎dockerfiles/Dockerfile_cpu‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
FROM python:3.8-slim
1+
# 3.10 floor: the code uses typing.Annotated (py3.9+), and matches the
2+
# python version in the TRT image's base (nvcr tensorrt 23.05 / Ubuntu 22.04).
3+
FROM python:3.10-slim
24

35
ENV LC_ALL=C.UTF-8
46
ENV LANG=C.UTF-8
57
ENV PIP_INSTALL="python -m pip --no-cache-dir install --upgrade"
68

79
RUN apt-get update &&\
810
apt-get install -y\
9-
libgl1-mesa-glx \
11+
libgl1 \
1012
protobuf-compiler \
1113
libprotoc-dev \
1214
libb64-0d \

0 commit comments

Comments
 (0)