ARG MIRROR ARG BASE_IMAGE=debian:bookworm FROM ${MIRROR}${BASE_IMAGE} # Utilities RUN apt-get update && \ apt-get install -y curl # Node.js 22 RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ apt-get install -y nodejs # Chromium RUN apt-get install -y chromium ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium # Desktop Bus RUN apt-get install -y dbus-x11 && \ mkdir -p /run/dbus # X11 Server RUN apt-get install -y xvfb