mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-27 19:03:22 +01:00
13 lines
602 B
Docker
13 lines
602 B
Docker
# Native amd64 or ARM64; no emulation, host session bus, audio, devices or home.
|
|
FROM debian:trixie-slim
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
python3 python3-dbus python3-gi python3-websockets dbus-bin dbus-daemon \
|
|
ca-certificates zlib1g \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& useradd -m -u 1100 -s /bin/sh tester \
|
|
&& mkdir -p /run/user/1100 && chown tester:tester /run/user/1100
|
|
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 XDG_RUNTIME_DIR=/run/user/1100
|
|
USER tester
|
|
WORKDIR /repo
|
|
ENTRYPOINT ["python3", "/repo/tests/decky-runtime/check.py"]
|