summaryrefslogtreecommitdiffstats
path: root/ci/images/manager/Dockerfile
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2023-11-06 12:03:50 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2023-11-07 14:21:01 +0100
commit4725846036f43246d3ec994e879d0d382ff3284f (patch)
tree01b98a796a72e0bfe7cf217bbfa304df8e7b68d7 /ci/images/manager/Dockerfile
parentmanager/.gitlab-ci.yml: unit:py3.7 tests removed (diff)
downloadknot-resolver-4725846036f43246d3ec994e879d0d382ff3284f.tar.xz
knot-resolver-4725846036f43246d3ec994e879d0d382ff3284f.zip
ci/images/manage: python3.12 and pipx added
Diffstat (limited to 'ci/images/manager/Dockerfile')
-rw-r--r--ci/images/manager/Dockerfile19
1 files changed, 10 insertions, 9 deletions
diff --git a/ci/images/manager/Dockerfile b/ci/images/manager/Dockerfile
index fa0dc30a..69ed251e 100644
--- a/ci/images/manager/Dockerfile
+++ b/ci/images/manager/Dockerfile
@@ -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