ci: docker_tag=ext - Optimize Dockerfile to reduce image size (remove dev tools)
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 33s

This commit is contained in:
4NK CI Bot 2025-09-21 18:09:33 +00:00
parent 1542f0fe98
commit 662b04bfdd

View File

@ -3,45 +3,10 @@
FROM node:20-alpine
WORKDIR /app
# Installation des dépendances nécessaires
# Installation des dépendances minimales nécessaires
RUN apk update && apk upgrade && apk add --no-cache \
git \
nginx \
curl \
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
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
# Copy project files
COPY . .