12 lines
859 B
Docker
12 lines
859 B
Docker
# AnyBot's Linux desktop build-and-test box: Rust, the libraries eframe/rodio need, a virtual
|
|
# screen (Xvfb) to run the window headless, a headless Wayland desktop (sway) for the Wayland
|
|
# path, and the desktop tools AnyBot uses on Linux.
|
|
FROM rust:1-bookworm
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
pkg-config libasound2-dev libxkbcommon-dev libxkbcommon-x11-0 libwayland-dev libx11-dev libxcursor1 libxrandr2 libxi6 libgl1 libegl1 libgl1-mesa-dri \
|
|
libxcb1-dev libxcb-randr0-dev libxcb-shm0-dev libxdo-dev libdbus-1-dev libxtst-dev libpipewire-0.3-dev libclang-dev libgbm-dev \
|
|
xvfb xdotool x11-utils imagemagick libnotify-bin libsecret-tools espeak-ng xclip dbus-x11 gnome-keyring \
|
|
fonts-noto-cjk ffmpeg poppler-utils ripgrep docker.io \
|
|
sway foot wev grim wl-clipboard \
|
|
&& rm -rf /var/lib/apt/lists/*
|