Dockerfile

This commit is contained in:
thuanle
2025-08-12 15:24:28 +07:00
commit 88955da2cf

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM archlinux:latest
# Ngăn pacman hỏi khi cài
ENV DEBIAN_FRONTEND=noninteractive \
DOCKER_HOST=unix:///var/run/docker.sock
# Cập nhật và cài Docker CLI + Node.js + yarn
RUN pacman -Syu --noconfirm \
docker \
nodejs \
npm \
yarn \
git \
&& pacman -Scc --noconfirm
# Kiểm tra phiên bản
RUN docker --version && node --version && npm --version && yarn --version
# Thư mục làm việc mặc định
WORKDIR /workspace
CMD [ "bash" ]