update build and script
All checks were successful
Weekly Docker Build / build (amd64) (push) Successful in 6m32s

This commit is contained in:
thuanle
2025-08-12 15:46:37 +07:00
parent 6509cc45ac
commit f32dbcd559
3 changed files with 65 additions and 66 deletions

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" ]