mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Added Linux containers for supported platforms. Updated tests to run and pass on all targets.
29 lines
580 B
Docker
29 lines
580 B
Docker
ARG BASE_IMAGE=quay.io/centos/centos:stream9
|
|
FROM ${BASE_IMAGE}
|
|
|
|
# Node.js 22
|
|
RUN dnf module enable -y nodejs:22 && \
|
|
dnf install -y nodejs
|
|
|
|
# Chromium
|
|
RUN dnf install -y epel-release && \
|
|
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 \
|
|
ca-certificates \
|
|
xdg-utils
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|