FROM archlinux:latest ENV TERM=xterm-256color RUN pacman --noconfirm -Syu && pacman --noconfirm -Sy \ python \ openssh \ && rm -rf /var/cache/pacman/* # uncomment to hardcode ssh_host keys in the image # RUN ssh-keygen -A COPY id_ed25519.pub /root/.ssh/authorized_keys WORKDIR /root/ COPY entrypoint.sh / CMD ["bash", "/entrypoint.sh"]