FROM registry.fedoraproject.org/fedora:42

RUN dnf install -y \
        systemd \
        openssh-clients \
        openssh-server \
        iproute \
        iptables \
        socat \
        curl \
        ca-certificates \
    && dnf clean all \
    && systemctl enable sshd

ENV container=docker
STOPSIGNAL SIGRTMIN+3
CMD ["/sbin/init"]
