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 24s

This commit is contained in:
4NK Dev 2025-09-21 17:44:53 +00:00
parent 505541a0a9
commit 4c63acaacb

View File

@ -16,13 +16,8 @@ RUN cargo build --release
FROM debian:bookworm-slim FROM debian:bookworm-slim
RUN apt-get update && apt-get upgrade -y && \ RUN apt-get update && apt-get upgrade -y && \
apt-get install -y --fix-missing \ apt-get install -y --fix-missing \
ca-certificates strace curl dnsutils jq git wget telnet npm coreutils \ ca-certificates curl jq && \
build-essential autoconf automake libtool pkg-config cmake ninja-build clang lldb lld make \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
tree ncdu mc exuberant-ctags cscope vim emacs sed gawk inetutils-tools iputils-* net-tools iproute2 \
python3 python3-pip python3-dev golang-go && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
npm install -g wscat && \
rm -rf /var/lib/apt/lists/* /root/.npm
# Créer l'utilisateur bitcoin # Créer l'utilisateur bitcoin
RUN useradd -m -d /home/bitcoin -u 1000 bitcoin RUN useradd -m -d /home/bitcoin -u 1000 bitcoin