From 9fca8f63b110fd58436e4bfd98b608f84a1e13ac Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Mon, 2 Oct 2023 23:03:56 +0200 Subject: [PATCH 1/3] 3.12: Remove no longer necessary gcc and libffi-dev (#8) --- 3.12/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.12/Dockerfile b/3.12/Dockerfile index 9de3570..1426912 100644 --- a/3.12/Dockerfile +++ b/3.12/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.12-rc-slim # Install libsodium RUN apt update && \ -apt install --yes libsodium23 gcc libffi-dev && \ +apt install --yes libsodium23 && \ rm -rf /var/lib/apt/lists # Install Poetry -- GitLab From fbbb2bbe95f20e9d2a3f2e0fce22a5fd08a45a50 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Mon, 2 Oct 2023 23:05:16 +0200 Subject: [PATCH 2/3] Move git and pre-commit from 3.11 to 3.12 (#8) pre-commit is now installed from PyPI in order to get > v3.2.0 On Debian Bookworm we have v3.0.0 Required by Lucas-C/pre-commit-hooks hook newest versions --- 3.11/Dockerfile | 2 +- 3.12/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/3.11/Dockerfile b/3.11/Dockerfile index 5b67644..0c88f96 100644 --- a/3.11/Dockerfile +++ b/3.11/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.11-slim # Install libsodium RUN apt update && \ -apt install --yes libsodium23 git pre-commit && \ +apt install --yes libsodium23 && \ rm -rf /var/lib/apt/lists # Install Poetry diff --git a/3.12/Dockerfile b/3.12/Dockerfile index 1426912..a3991a2 100644 --- a/3.12/Dockerfile +++ b/3.12/Dockerfile @@ -2,8 +2,8 @@ FROM python:3.12-rc-slim # Install libsodium RUN apt update && \ -apt install --yes libsodium23 && \ +apt install --yes libsodium23 git && \ rm -rf /var/lib/apt/lists # Install Poetry -RUN pip install poetry +RUN pip install poetry pre-commit -- GitLab From 61a9ae2e6594ecce202cf38dad06c08deaa87e87 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Mon, 2 Oct 2023 23:09:13 +0200 Subject: [PATCH 3/3] 3.12: Remove 'rc' from the tag (#8) --- 3.12/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.12/Dockerfile b/3.12/Dockerfile index a3991a2..7f2b313 100644 --- a/3.12/Dockerfile +++ b/3.12/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-rc-slim +FROM python:3.12-slim # Install libsodium RUN apt update && \ -- GitLab