Files
vscode/test/sanity/containers/opensuse.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

26 lines
525 B
Docker

ARG BASE_IMAGE=opensuse/leap:16.0
FROM ${BASE_IMAGE}
# Node.js 22
RUN zypper install -y nodejs22
# Chromium
RUN zypper install -y chromium pciutils Mesa-libGL1
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
# X11 Server
RUN zypper install -y xorg-x11-server-Xvfb
# Desktop Bus
RUN zypper install -y dbus-1-x11 && \
mkdir -p /run/dbus
# VS Code dependencies
RUN zypper install -y \
liberation-fonts \
libgtk-3-0
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]