Some checks failed
🚀 Lint & Test & Deploy / release (push) Failing after 3m14s
29 lines
759 B
Docker
29 lines
759 B
Docker
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/*
|