12 lines
246 B
Docker
12 lines
246 B
Docker
FROM public.ecr.aws/amazonlinux/amazonlinux:2023
|
|
|
|
RUN dnf install -y openssh-clients openssh-server systemd \
|
|
&& dnf clean all \
|
|
&& systemctl enable sshd
|
|
|
|
COPY motd /etc/motd
|
|
|
|
ENV container=docker
|
|
STOPSIGNAL SIGRTMIN+3
|
|
CMD ["/sbin/init"]
|