fix: Dockerfile 加入 git 安裝驗證,git.js 改回 git binary

This commit is contained in:
2026-05-11 10:34:23 +00:00
parent fe2a513fbb
commit 894ece033b
2 changed files with 33 additions and 39 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
FROM node:20
FROM node:20-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/* && \
git --version
WORKDIR /action