From 56df80d37956bb7ad3938145aaddc36d2685cb4f Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Wed, 26 Oct 2022 11:26:32 +0200 Subject: [PATCH] Introduce Python v3.11 container (#6) --- .gitlab-ci.yml | 6 ++++++ 3.11/Dockerfile | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 3.11/Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86e4fb9..ba66103 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ test_build_image: - docker build 3.8 - docker build 3.9 - docker build 3.10 + - docker build 3.11 except: - tags @@ -48,3 +49,8 @@ build_3_10: extends: .build_image variables: PYTHON_VERSION: "3.10" + +build_3_11: + extends: .build_image + variables: + PYTHON_VERSION: "3.11" diff --git a/3.11/Dockerfile b/3.11/Dockerfile new file mode 100644 index 0000000..0c88f96 --- /dev/null +++ b/3.11/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.11-slim + +# Install libsodium +RUN apt update && \ +apt install --yes libsodium23 && \ +rm -rf /var/lib/apt/lists + +# Install Poetry +RUN pip install poetry -- GitLab