多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
622 B

FROM ghcr.io/actions/actions-runner:latest
USER root
# Install dependencies
RUN apt-get update && apt-get install -y \
libnss3 libatk-bridge2.0-0 libdrm-dev libxkbcommon-dev libgbm-dev libasound-dev \
libatspi2.0-0 libxshmfence-dev python3 python3-pip curl zip sudo rsync jq \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Node.js (and npm, which includes npx)
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Playwright
RUN npx playwright install --with-deps chromium
USER runner