]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/images/manager: upgrade to fedora38 with python3.11
authorAleš Mrázek <ales.mrazek@nic.cz>
Fri, 19 May 2023 14:07:38 +0000 (16:07 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Tue, 30 May 2023 13:39:40 +0000 (15:39 +0200)
ci/images/manager/Dockerfile

index 8a1867c094139c5b73d3c2e4fd5e9d6581a3bcfc..519c824eafa01cc6e0adb5945054feb1281293e0 100644 (file)
@@ -1,18 +1,20 @@
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-FROM fedora:35
-MAINTAINER Knot Resolver <knot-resolver@labs.nic.cz>
+FROM fedora:38
+LABEL Knot Resolver <knot-resolver@labs.nic.cz>
 
 WORKDIR /root
 CMD ["/bin/bash"]
 ENV PATH="/root/.local/bin:${PATH}"
 
-# Install Python
-RUN dnf install -y git diffutils python3.6 python3.7 python3.8 python3.9 python3.10 python3-gobject pkg-config cairo-devel gcc python3-devel gobject-introspection-devel cairo-gobject-devel which \
+# 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
 
-# Install Poetry
-RUN python3 -m pip install -U pip \
-       && curl -sSL https://install.python-poetry.org | python3 - --version 1.1.12\
+# Install pip
+RUN python3 -m pip install -U pip\
+       # Install poetry
+       && curl -sSL https://install.python-poetry.org | python3 - --version 1.4.2\
        # not exactly required, but helpful
        && python3 -m pip install poethepoet