pyPhotoAlbum/Dockerfile.ci
Duncan Tourolle 5763fa629e
Some checks failed
Lint / lint (push) Successful in 20s
Python CI / test (push) Failing after 1m42s
Tests / test (3.12) (push) Failing after 6s
Tests / test (3.13) (push) Failing after 6s
Tests / test (3.14) (push) Failing after 8s
Tests / test (3.11) (push) Failing after 37s
More fixes for CI
2026-04-09 22:39:15 +02:00

45 lines
1.0 KiB
Docker

# CI test image for pyPhotoAlbum
# Build: docker build -f Dockerfile.ci -t gitea.tourolle.paris/dtourolle/pyphotoalbum-ci:latest .
# Push: docker push gitea.tourolle.paris/dtourolle/pyphotoalbum-ci:latest
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
# Python
python3 \
python3-venv \
python3-pip \
# PyQt6 / OpenGL runtime deps
libgl1 \
libglib2.0-0 \
libegl1 \
libfontconfig1 \
libfreetype6 \
libdbus-1-3 \
# XCB / display (needed even with offscreen platform)
libx11-6 \
libx11-xcb1 \
libxcb1 \
libxcb-cursor0 \
libxcb-glx0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render0 \
libxcb-render-util0 \
libxcb-shape0 \
libxcb-shm0 \
libxcb-sync1 \
libxcb-xfixes0 \
libxcb-xinerama0 \
libxcb-xkb1 \
libxkbcommon0 \
libxkbcommon-x11-0 \
# Misc tools used in workflows
curl \
git \
nodejs \
&& rm -rf /var/lib/apt/lists/*