This commit is contained in:
xkm
2025-04-27 22:04:12 +08:00
parent 326a2a007c
commit 7c02d88f3a
4 changed files with 91 additions and 116 deletions

View File

@@ -0,0 +1,16 @@
# Dockerfile for Arch Linux with latest GCC/G++ and time command
# Use the official Arch Linux base image
FROM archlinux:latest
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm base-devel time && \
rm -rf /var/cache/pacman/pkg/*
RUN echo "Verifying installations..." && \
gcc --version && \
g++ --version && \
/usr/bin/time --version && \
make --version
CMD ["bash"]