update build and script
All checks were successful
Weekly Docker Build / build (amd64) (push) Successful in 6m32s
All checks were successful
Weekly Docker Build / build (amd64) (push) Successful in 6m32s
This commit is contained in:
22
arch-docker-node.amd64.Dockerfile
Normal file
22
arch-docker-node.amd64.Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user