From 6ebe1779555c78875814fa01148a4adf5f663ff9 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 May 2023 14:44:00 +0200 Subject: [PATCH] Packaging: Finally add `python3-dev` to OCI image building --- .github/release/full/Dockerfile | 4 ++-- .github/release/standard/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/release/full/Dockerfile b/.github/release/full/Dockerfile index a59d6cc02..c084e104f 100644 --- a/.github/release/full/Dockerfile +++ b/.github/release/full/Dockerfile @@ -12,7 +12,7 @@ RUN \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests --yes \ git build-essential ca-certificates \ - python-is-python3 python3-h5py python3-pip python3-wheel python3-venv + python-is-python3 python3-h5py python3-dev python3-pip python3-venv python3-wheel # Use Python 3.11. RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 0 @@ -41,7 +41,7 @@ RUN --mount=type=cache,id=pip,target=/root/.cache/pip \ # Uninstall build prerequisites again. RUN true \ - && apt-get --yes remove --purge git build-essential python3-pip python3-wheel python3-venv \ + && apt-get --yes remove --purge git build-essential python3-dev python3-pip python3-venv python3-wheel \ && apt-get --yes autoremove # Purge /tmp directory diff --git a/.github/release/standard/Dockerfile b/.github/release/standard/Dockerfile index ea150cdc6..553285048 100644 --- a/.github/release/standard/Dockerfile +++ b/.github/release/standard/Dockerfile @@ -11,7 +11,7 @@ RUN \ true \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests --yes \ - git build-essential python3-pip python3-wheel python3-venv + git build-essential python3-dev python3-pip python3-venv python3-wheel # Use "poetry build --format=wheel" to build wheel packages. COPY dist/wetterdienst-*.whl /tmp/ @@ -26,7 +26,7 @@ RUN --mount=type=cache,id=pip,target=/root/.cache/pip \ # Uninstall build prerequisites again. RUN true \ - && apt-get --yes remove --purge git build-essential python3-pip python3-wheel python3-venv \ + && apt-get --yes remove --purge git build-essential python3-dev python3-pip python3-venv python3-wheel \ && apt-get --yes autoremove # Purge /tmp directory