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
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# hadolint ignore=DL3008,DL3028
|
# hadolint ignore=DL3008,DL3028
|
||||||
RUN apt-get update && \
|
RUN apt-get update \
|
||||||
apt-get -y --no-install-recommends install \
|
&& apt remove python3 -y \
|
||||||
|
&& apt-get -y --no-install-recommends install \
|
||||||
build-essential \
|
build-essential \
|
||||||
wget \
|
wget \
|
||||||
rsync \
|
rsync \
|
||||||
|
@ -17,5 +18,5 @@ RUN apt-get update && \
|
||||||
s-nail \
|
s-nail \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& pip3 install --no-cache-dir --break-system-packages pylint==3.1.0 \
|
&& pip3 install --no-cache-dir --break-system-packages pylint==3.1.0 \
|
||||||
&& apt-get clean && \
|
&& apt-get clean \
|
||||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
||||||
|
|
Loading…
Reference in a new issue