mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 09:26:22 +02:00
Change containers to Python 3.12 (#386)
This commit is contained in:
parent
e04d3631fd
commit
b380c2054d
6 changed files with 36 additions and 21 deletions
|
|
@ -8,10 +8,12 @@ FROM docker.io/fedora:42 AS base
|
|||
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \
|
||||
python3-rdflib tesseract poppler poppler-utils
|
||||
|
||||
RUN pip3 install --no-cache-dir pytesseract pulsar-client==3.7.0
|
||||
RUN dnf install -y python3.12 && \
|
||||
alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \
|
||||
python -m ensurepip --upgrade && \
|
||||
pip3 install --no-cache-dir wheel aiohttp && \
|
||||
pip3 install --no-cache-dir pulsar-client==3.7.0 && \
|
||||
dnf clean all
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Build a container which contains the built Python packages. The build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue