Skip to content

Commit 1fdcf2d

Browse files
author
Edward Yang
committed
fix cv2 system dependencies
1 parent 153e0d7 commit 1fdcf2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.9.19-slim-bookworm
33
COPY pyproject.toml /opt/PartiNet/pyproject.toml
44
COPY partinet /opt/PartiNet/partinet
55

6-
RUN apt-get update && apt-get install libglib2.0-0 -y && rm -rf /var/cache/apt/archives /var/lib/apt/lists/* && apt-get clean
6+
RUN apt-get update && apt-get install libglib2.0-0 libxext6 libx11-6 -y && rm -rf /var/cache/apt/archives /var/lib/apt/lists/* && apt-get clean
77
RUN python -m pip install --no-cache-dir --no-cache /opt/PartiNet
88

99
LABEL AUTHORS Mihin Perera, Edward Yang, Julie Iskander

Singularity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ from: python:3.9.19-slim-bookworm
77
%post
88
# install system dependencies
99
apt-get update
10-
apt-get install libglib2.0-0 -y
10+
apt-get install libglib2.0-0 libxext6 libx11-6 -y
1111

1212
# cleanup apt package index
1313
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*

0 commit comments

Comments
 (0)