feat: try to optimize the Dockerfile
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user