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