feat: try to optimize the Dockerfile
Some checks failed
Build & Push CI Image / build-and-push (push) Failing after 9s
🚀 Lint & Test & Deploy / release (push) Failing after 2m31s

This commit is contained in:
2026-02-06 12:33:36 +01:00
parent ac2c61f221
commit 35f5177884

View File

@@ -1,21 +1,16 @@
FROM node:25-bookworm-slim FROM node:25-bookworm-slim
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
curl \ curl=7.88.1 \
git \ git=1:2.39.5 \
jq \ jq=1.6-2.1 \
g++ \ g++=4:12.2.0-3 \
make \ rclone=1.60.1 \
rclone \ libglapi-mesa=22.3.6 \
libglapi-mesa \ libosmesa6=22.3.6 \
libosmesa6 \ xvfb=2:21.1.7 \
xvfb --no-install-recommends \
&& curl --silent --show-error --location --fail --retry 3 \
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN curl --silent --show-error --location --fail --retry 3 \
--proto '=https' --tlsv1.2 \ --proto '=https' --tlsv1.2 \
--output /tmp/rustup-init.sh https://sh.rustup.rs \ --output /tmp/rustup-init.sh https://sh.rustup.rs \
&& sh /tmp/rustup-init.sh -y --no-modify-path --profile minimal \ && sh /tmp/rustup-init.sh -y --no-modify-path --profile minimal \