mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
23 lines
459 B
Docker
23 lines
459 B
Docker
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
|