fix build
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build unknown status

This commit is contained in:
Michael Grote 2024-05-08 15:02:11 +02:00
parent 7f04011a34
commit 4419d908a3

View file

@ -2,11 +2,12 @@ FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
COPY requirements.txt .
# hadolint ignore=DL3008,DL3028
RUN apt-get update \
&& apt-get -y remove python3 \
&& apt-get -y --no-install-recommends install \
python3-full python3-pip \
&& pip install --no-cache-dir --break-system-packages -r ./requirements.txt \
&& pip install --no-cache-dir --break-system-packages -r requirements.txt \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*