Files
vscode/test/sanity/containers/fedora.dockerfile
Dmitriy Vasyura aaaac22b3c Sanity tests for Linux (#290072)
Added Linux containers for supported platforms.
Updated tests to run and pass on all targets.
2026-01-23 18:49:15 -08:00

25 lines
532 B
Docker

ARG BASE_IMAGE=fedora:36
FROM ${BASE_IMAGE}
# Node.js 22
RUN curl -fsSL https://rpm.nodesource.com/setup_22.x | bash - && \
dnf install -y nodejs-22.21.1
# Chromium
RUN dnf install -y chromium
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser
# Desktop Bus
RUN dnf install -y dbus-x11 && \
mkdir -p /run/dbus
# X11 Server
RUN dnf install -y xorg-x11-server-Xvfb
# VS Code dependencies
RUN dnf install -y xdg-utils
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]