6 lines
432 B
Plaintext
6 lines
432 B
Plaintext
|
FROM docker.io/archlinux:base
|
||
|
RUN pacman -Syu --noconfirm systemd kitty-terminfo openssh python3 && rm -rf /var/cache/pacman/ && systemctl enable sshd.service && mkdir -m 0700 ~/.ssh && touch ~/.ssh/authorized_keys && chmod 0600 ~/.ssh/authorized_keys && echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJKjThT/FYgychPF0LHvkaO/H1qPEQ9RXLzs6bmBtONu ben2019" >> ~/.ssh/authorized_keys
|
||
|
COPY ssh-config/* /etc/ssh/
|
||
|
|
||
|
ENTRYPOINT ["/sbin/init"]
|