]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/images/manage: python3.12 and pipx added docs-develop-ci-m-b9by83/deployments/2857
authorAleš Mrázek <ales.mrazek@nic.cz>
Mon, 6 Nov 2023 11:03:50 +0000 (12:03 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Tue, 7 Nov 2023 13:21:01 +0000 (14:21 +0100)
ci/images/manager/Dockerfile

index fa0dc30a569438f548946ea80a41c7f4cb42228f..69ed251e8c177edc3682ce792a2de43f19b526b2 100644 (file)
@@ -8,13 +8,14 @@ CMD ["/bin/bash"]
 ENV PATH="/root/.local/bin:${PATH}"
 
 # Install Python and deps
-RUN dnf install -y python3.7 python3.8 python3.9 python3.10 python3.10-devel python3 python3-devel python3-gobject\
-       git which diffutils gcc pkg-config cairo-devel gobject-introspection-devel cairo-gobject-devel\
-       && dnf clean all
+RUN dnf install -y\
+    python3.8 python3.9 python3.10 python3.10-devel\
+    python3.11 python3.11-devel python3.12 python3.12-devel\
+    python3-gobject pipx git which diffutils gcc pkg-config\
+    cairo-devel gobject-introspection-devel cairo-gobject-devel\
+    && dnf clean all
 
-# Install pip
-RUN python3.7 -m ensurepip\
-       # Install poetry
-       && curl -sSL https://install.python-poetry.org | python3 - --version 1.4.2\
-       # not exactly required, but helpful
-       && python3.7 -m pip install poethepoet
+# Install poetry
+RUN pipx install poetry==1.4.2\
+    # not exactly required, but helpful
+       && pipx install poethepoet