Skip to content

Commit 0859b41

Browse files
authored
Fix missing libglib2.0-0 in HPS gateway Dockerfile (#17833) (#17842)
The gateway container fails with `ImportError: libgthread-2.0.so.0` because `paddlex[serving]` transitively imports `cv2`, which requires `libglib2.0-0`. Add it to the apt-get install line.
1 parent f0b39d4 commit 0859b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/paddleocr_vl_docker/hps/gateway.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.10-slim
22

33
# Install system dependencies
44
RUN apt-get update \
5-
&& apt-get install -y --no-install-recommends curl libgl1 \
5+
&& apt-get install -y --no-install-recommends curl libgl1 libglib2.0-0 \
66
&& rm -rf /var/lib/apt/lists/*
77

88
WORKDIR /app

0 commit comments

Comments
 (0)