ci: automatically build ci image and store locally
Some checks failed
Build & Push CI Image / build-and-push (push) Failing after 3m6s
🚀 Lint & Test & Deploy / release (push) Failing after 1m59s

This commit is contained in:
2026-02-06 11:57:44 +01:00
parent 1dae472253
commit 703da324fa
2 changed files with 42 additions and 2 deletions

28
Dockerfile.ci Normal file
View File

@@ -0,0 +1,28 @@
FROM node:25-bookworm-slim
RUN apt-get update && apt-get install -y \
curl \
git \
jq \
g++ \
make \
rclone \
libglapi-mesa \
libosmesa6 \
xvfb
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 \
--output /tmp/rustup-init.sh https://sh.rustup.rs \
&& sh /tmp/rustup-init.sh -y --no-modify-path --profile minimal \
&& rm /tmp/rustup-init.sh \
&& rustup target add wasm32-unknown-unknown \
&& rm -rf /usr/local/rustup/toolchains/*/share/doc \
&& npm i -g pnpm \
&& pnpx playwright install-deps \
&& pnpx playwright install --with-deps firefox \
&& rm -rf /var/lib/apt/lists/*