9 lines
388 B
Docker
9 lines
388 B
Docker
# 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"]
|