Skip to content
Snippets Groups Projects

manager: python and poetry upgrade

Merged Aleš Mrázek requested to merge manager-python3.11 into manager
Files
23
# 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
Loading