Compare commits

...
2 Commits
Author SHA1 Message Date
jiantw83 71938b5b42 feat: 使用 sleep 的絕對路徑 2026-03-25 22:19:30 +08:00
jiantw83 04eec23b2b test: 安裝 coreutils 才能使用 sleep 指令 2026-03-25 22:17:04 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
FROM alpine:latest
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash curl sleep
RUN apk add --no-cache --no-check-certificate bash curl coreutils
COPY entrypoint.sh /entrypoint.sh
+1 -1
View File
@@ -29,7 +29,7 @@ while true; do
fi
# 休息 60 秒後重試
sleep 60
/usr/bin/sleep 60
done
# 將狀態碼輸出到環境變數