ci: docker_tag=ext - Optimize Dockerfile to reduce image size (remove dev tools)
All checks were successful
build-and-push-ext / build_push (push) Successful in 1m19s

This commit is contained in:
Debian Dev4 2025-09-21 18:09:27 +00:00
parent 7ef06bc6b5
commit 80c091fde4

View File

@ -7,41 +7,7 @@ COPY package-lock.json ./
RUN apk update && apk upgrade && apk add --no-cache \ RUN apk update && apk upgrade && apk add --no-cache \
git \ git \
curl \ && rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
wget \
jq \
busybox-extras \
npm \
coreutils \
build-base \
autoconf \
automake \
libtool \
pkgconfig \
cmake \
ninja \
clang \
lldb \
lld \
make \
tree \
ncdu \
mc \
ctags \
vim \
emacs \
sed \
gawk \
iputils \
net-tools \
iproute2 \
python3 \
python3-dev \
py3-pip \
go \
rust \
cargo \
&& npm install -g wscat || echo "wscat installation failed - continuing"
# Installation des dépendances # Installation des dépendances
RUN --mount=type=cache,target=/root/.npm \ RUN --mount=type=cache,target=/root/.npm \