From 23f1e00e7d16ff698c23eb7c83e098c7ddda63da Mon Sep 17 00:00:00 2001 From: ddelange <14880945+ddelange@users.noreply.github.com> Date: Wed, 8 May 2024 10:00:40 +0200 Subject: [PATCH] Always install python3.x-minimal --- .github/workflows/build.yml | 2 +- runtime/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1688232..d41892c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -125,7 +125,7 @@ jobs: BASE_IMAGE=${{ env.REGISTRY }}/${{ github.repository }}/base BASE_TAG=${{ github.event_name != 'pull_request' && github.sha || 'master' }} PYTHON_MINOR_VERSION=${{ matrix.python_minor_version }} - PYTHON_DISTUTILS=${{ (matrix.python_minor_version < 12 && '-distutils') || '-minimal' }} + PYTHON_DISTUTILS=${{ (matrix.python_minor_version < 12 && '-distutils') || '' }} cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{ (startsWith(matrix.image, 'runtime') && format('3.{0}-', matrix.python_minor_version)) || '' }}buildcache cache-to: ${{ github.event_name != 'pull_request' && env.CACHE_TO_STRING || '' }} provenance: false diff --git a/runtime/Dockerfile b/runtime/Dockerfile index e6d29e5..bdfd88d 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -7,4 +7,5 @@ ARG PYTHON_MINOR_VERSION ARG PYTHON_DISTUTILS RUN apt-install \ python3.${PYTHON_MINOR_VERSION}${PYTHON_DISTUTILS} \ + python3.${PYTHON_MINOR_VERSION}-minimal \ libpython3.${PYTHON_MINOR_VERSION}-stdlib