Fix Dockerfile: Update Debian packages for OpenCV compatibility
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 1m11s
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 1m11s
Changes: - Replace libgl1-mesa-glx with libgl1 - Add libsm6, libxext6, libxrender-dev for OpenCV - Add libgomp1 for OpenMP support - Better package selection for python:3.11-slim base
This commit is contained in:
@@ -7,8 +7,12 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
libgl1-mesa-glx \
|
libgl1 \
|
||||||
libglib2.0-0 \
|
libglib2.0-0 \
|
||||||
|
libsm6 \
|
||||||
|
libxext6 \
|
||||||
|
libxrender-dev \
|
||||||
|
libgomp1 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set work directory
|
# Set work directory
|
||||||
|
|||||||
Reference in New Issue
Block a user