ci: automatically build ci image and store locally
This commit is contained in:
28
Dockerfile.ci
Normal file
28
Dockerfile.ci
Normal 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/*
|
||||
Reference in New Issue
Block a user