From df0d065705d983e7148581b5cbf5f7a67ffd63a3 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 11 May 2025 17:17:58 +0300 Subject: [PATCH 1/2] fix: update Docker base image to slim version and install required dependencies --- Dockerfile.github_action | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.github_action b/Dockerfile.github_action index b95bbdb6..458ac78a 100644 --- a/Dockerfile.github_action +++ b/Dockerfile.github_action @@ -1,4 +1,6 @@ -FROM python:3.12 as base +FROM python:3.12.10-slim AS base + +RUN apt update && apt install --no-install-recommends -y git curl && apt-get clean && rm -rf /var/lib/apt/lists/* WORKDIR /app ADD pyproject.toml . From 4210262e27c55c6fd3ba826bdbd2a87fe08e6def Mon Sep 17 00:00:00 2001 From: Tal Date: Sun, 11 May 2025 17:19:58 +0300 Subject: [PATCH 2/2] Update Dockerfile.github_action Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com> --- Dockerfile.github_action | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.github_action b/Dockerfile.github_action index 458ac78a..2d39a75e 100644 --- a/Dockerfile.github_action +++ b/Dockerfile.github_action @@ -1,6 +1,6 @@ FROM python:3.12.10-slim AS base -RUN apt update && apt install --no-install-recommends -y git curl && apt-get clean && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install --no-install-recommends -y git curl && apt-get clean && rm -rf /var/lib/apt/lists/* WORKDIR /app ADD pyproject.toml .