remove system python3
This commit is contained in:
parent
40df9eb628
commit
8081d87d99
1 changed files with 5 additions and 4 deletions
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue