[linux] Installer (one copied line) and the container test of the Linux target with real systemd
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user