FROM public.ecr.aws/docker/library/ubuntu:20.04 RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ systemd \ systemd-sysv \ openssh-client \ openssh-server \ iproute2 \ iptables \ socat \ curl \ ca-certificates \ && systemctl enable ssh \ && rm -rf /var/lib/apt/lists/* ENV container=docker STOPSIGNAL SIGRTMIN+3 CMD ["/sbin/init"]