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
All checks were successful
build-and-push-ext / build_push (push) Successful in 24s
This commit is contained in:
parent
505541a0a9
commit
4c63acaacb
@ -16,13 +16,8 @@ RUN cargo build --release
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y --fix-missing \
|
||||
ca-certificates strace curl dnsutils jq git wget telnet npm coreutils \
|
||||
build-essential autoconf automake libtool pkg-config cmake ninja-build clang lldb lld make \
|
||||
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
|
||||
ca-certificates curl jq && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Créer l'utilisateur bitcoin
|
||||
RUN useradd -m -d /home/bitcoin -u 1000 bitcoin
|
||||
|
Loading…
x
Reference in New Issue
Block a user