dff
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Michael Grote 2024-07-11 17:48:35 +02:00
parent 1442fdeb32
commit 4c69804b0d

View file

@ -1,4 +1,4 @@
FROM ubuntu:24.04 FROM python:3.12.4-bookworm
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
@ -7,11 +7,8 @@ COPY requirements.txt .
# hadolint ignore=DL3008,DL3028 # hadolint ignore=DL3008,DL3028
RUN apt-get update \ RUN apt-get update \
&& apt-get -y --no-install-recommends install \ && apt-get -y --no-install-recommends install wget \
python3 \ RUN python3 -m pip install --no-cache-dir -r requirements.txt \
wget
RUN python3 -m ensurepip --upgrade
RUN python3 -m pip install --no-cache-dir -r requirements.txt --break-system-packages \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*