Skip to content

Dependencies Docker Image #7850

Discussion options

You must be logged in to vote

Hi @opensource-coder909

Your Dockerfile could look something like this:

# Base image with Python
FROM python:3.13-slim as base

# Install system dependencies for build tools, Cairo, and Python development
RUN apt-get update && apt-get install -y --no-install-recommends \

    git \
    wget \
    curl \
    libcairo2 \
    libcairo2-dev \
    libpangocairo-1.0-0 \
    libpango-1.0-0 \
    libgdk-pixbuf2.0-0 \
    libgtk-3-0 \
    libffi-dev \
    libnss3 \
    libxss1 \
    libasound2 \
    libatk1.0-0 \
    libatk-bridge2.0-0 \
    libcups2 \
    libdrm2 \
    libxcomposite1 \
    libxrandr2 \
    libxdamage1 \
    libgbm1 \
    gcc \
    build-essential \
    pkg-config \
    python3-de…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@niclasheinz
Comment options

Answer selected by kamilkrzyskow
@opensource-coder909
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants