Files
nocodb/scripts/self-hosted-gh-runner/Dockerfile
Mert E. 615a9c147e chore: oos changes (#9919)
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-03 20:54:27 +03:00

20 lines
622 B
Docker

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