]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/images/manager: ensure usage of Python 3.7
authorOto Šťáva <oto.stava@nic.cz>
Tue, 22 Aug 2023 12:47:23 +0000 (14:47 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 24 Aug 2023 08:14:16 +0000 (08:14 +0000)
ci/images/manager/Dockerfile

index 519c824eafa01cc6e0adb5945054feb1281293e0..fa0dc30a569438f548946ea80a41c7f4cb42228f 100644 (file)
@@ -13,8 +13,8 @@ RUN dnf install -y python3.7 python3.8 python3.9 python3.10 python3.10-devel pyt
        && dnf clean all
 
 # Install pip
-RUN python3 -m pip install -U 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 -m pip install poethepoet
+       && python3.7 -m pip install poethepoet