From 42ffb0ab66619d00fdb657a3445d3d35dcb26b86 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 12 Oct 2024 03:12:21 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zengtudor --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..693c56f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM archlinux:latest + +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 + +LABEL "org.opencontainers.image.authors"="Santiago Torres-Arias (@SantiagoTorres), Christian Rebischke (@shibumi), Justin Kromlinger (@hashworks), ZengZiYu (@Zengtudor)" +ENV "TZ"="Asia/Shanghai" + +EXPOSE 22