From 0ae26d3a6d2cd4fe84ceb49968a3d4996ec2ee3c Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 31 Aug 2025 01:10:32 +0700 Subject: [PATCH] refactor: improve system dependencies installation in Dockerfile.base --- Dockerfile.base | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile.base b/Dockerfile.base index d1a1eec..dd507f9 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -2,7 +2,16 @@ FROM pytorch/pytorch:2.8.0-cuda12.6-cudnn9-runtime # Install system dependencies -RUN apt update && apt install -y libgl1 && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -y \ + libgl1 \ + libglib2.0-0 \ + libgthread-2.0-0 \ + libgstreamer1.0-0 \ + libgtk2.0-0 \ + libavcodec-dev \ + libavformat-dev \ + libswscale-dev \ + && rm -rf /var/lib/apt/lists/* # Copy and install base requirements (ML dependencies that rarely change) COPY requirements.base.txt .