22 lines
480 B
Docker
22 lines
480 B
Docker
FROM ubuntu:24.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# hadolint ignore=DL3008,DL3028
|
|
RUN apt-get update \
|
|
&& apt-get remove python3 -y \
|
|
&& apt-get -y --no-install-recommends install \
|
|
build-essential \
|
|
wget \
|
|
rsync \
|
|
openssh-client \
|
|
ca-certificates \
|
|
debhelper \
|
|
git \
|
|
curl \
|
|
yamllint \
|
|
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/*
|