openhop

srcSource code

Source code

Every file of openhop's latest version, exactly as published. Read anything, or download it all as a zip.

Commit
c8cfb4c
Date
16 Nov 2026
Files
62 files
Download the source (zip)

zip · 758 KB · SHA-256 6ce65b028777bf92…

Dockerfile.ubuntu

16 lines · 1010 B · Text

# Test box for openhop on Linux: Ubuntu 24.04 with systemd (so `systemctl --user` works), a virtual
# screen (Xvfb) for window screenshots, and the packages a normal desktop has. WARP and openhop are NOT
# preinstalled: install.sh must do that, like on a real machine.
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
systemd systemd-sysv dbus dbus-user-session sudo ca-certificates curl gnupg lsb-release \
xvfb xauth x11-utils imagemagick fonts-dejavu-core openbox \
iproute2 procps less nano file \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash -G sudo tester && echo "tester:tester" | chpasswd \
&& echo "tester ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/tester && chmod 440 /etc/sudoers.d/tester
# keep the user's systemd manager running without a login session
RUN mkdir -p /var/lib/systemd/linger && touch /var/lib/systemd/linger/tester
STOPSIGNAL SIGRTMIN+3
CMD ["/sbin/init"]