[linux] Installer (one copied line) and the container test of the Linux target with real systemd

This commit is contained in:
2026-11-17 12:27:53 +01:00
parent 08d7e949c2
commit ea119c837c
5 changed files with 221 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# The Linux target's integration test: Debian with real systemd as PID 1.
FROM docker.io/library/debian:trixie-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends systemd systemd-sysv python3 curl ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& systemctl mask systemd-logind.service getty.target console-getty.service
STOPSIGNAL SIGRTMIN+3
CMD ["/sbin/init"]