remove system python3
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 14:30:38 +02:00
parent 40df9eb628
commit 8081d87d99

View file

@ -3,8 +3,9 @@ FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008,DL3028
RUN apt-get update && \
apt-get -y --no-install-recommends install \
RUN apt-get update \
&& apt remove python3 -y \
&& apt-get -y --no-install-recommends install \
build-essential \
wget \
rsync \
@ -17,5 +18,5 @@ RUN apt-get update && \
s-nail \
python3-pip \
&& pip3 install --no-cache-dir --break-system-packages pylint==3.1.0 \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*