FROM archlinux:latest COPY ["./startup.sh","/"] RUN echo 'Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch' | \ cat - /etc/pacman.d/mirrorlist > /tmp/mirrorlist && \ mv /tmp/mirrorlist /etc/pacman.d/mirrorlist &&\ pacman -Syy --noconfirm &&\ pacman -Syu --noconfirm &&\ pacman -Syu --noconfirm gdb gcc cmake make xmake vim clang glances htop which git openssh &&\ chmod +x /startup.sh COPY ["./sshd_config","/etc/ssh/"] LABEL "org.opencontainers.image.authors"="Santiago Torres-Arias (@SantiagoTorres), Christian Rebischke (@shibumi), Justin Kromlinger (@hashworks), ZengZiYu (@Zengtudor)" ENV "TZ"="Asia/Shanghai" EXPOSE 22 ENTRYPOINT ["/startup.sh"]