Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
-
# Add contrib/non-free repos for
|
| 4 |
RUN echo "deb http://deb.debian.org/debian trixie contrib non-free" >> /etc/apt/sources.list && \
|
| 5 |
echo "deb http://deb.debian.org/debian-security/ trixie-security contrib non-free" >> /etc/apt/sources.list
|
| 6 |
|
| 7 |
-
# Install system dependencies
|
| 8 |
RUN apt-get update && \
|
| 9 |
apt-get install -y --no-install-recommends \
|
| 10 |
build-essential \
|
| 11 |
libedit-dev \
|
| 12 |
libffi-dev \
|
| 13 |
python3-dev \
|
| 14 |
-
|
| 15 |
libsm6 \
|
| 16 |
libxext6 \
|
| 17 |
libxrender1 \
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
# Add contrib/non-free repos for graphics libraries
|
| 4 |
RUN echo "deb http://deb.debian.org/debian trixie contrib non-free" >> /etc/apt/sources.list && \
|
| 5 |
echo "deb http://deb.debian.org/debian-security/ trixie-security contrib non-free" >> /etc/apt/sources.list
|
| 6 |
|
| 7 |
+
# Install system dependencies (REPLACED libgl1-mesa-glx with libglx0)
|
| 8 |
RUN apt-get update && \
|
| 9 |
apt-get install -y --no-install-recommends \
|
| 10 |
build-essential \
|
| 11 |
libedit-dev \
|
| 12 |
libffi-dev \
|
| 13 |
python3-dev \
|
| 14 |
+
libglx0 \
|
| 15 |
libsm6 \
|
| 16 |
libxext6 \
|
| 17 |
libxrender1 \
|