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
All checks were successful
build-and-push-ext / build_push (push) Successful in 1m19s
This commit is contained in:
parent
7ef06bc6b5
commit
80c091fde4
36
Dockerfile
36
Dockerfile
@ -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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user