Compare commits

..
3 Commits
Author SHA1 Message Date
jiantw83 04eec23b2b test: 安裝 coreutils 才能使用 sleep 指令 2026-03-25 22:17:04 +08:00
jiantw83 3bb33d6240 feat: 等待 60 秒之後重試 2026-03-25 22:13:19 +08:00
jiantw83 fb777eec31 feat: 安裝 sleep 套件 2026-03-25 22:11:56 +08:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
FROM alpine:latest
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash curl
RUN apk add --no-cache --no-check-certificate bash curl coreutils
COPY entrypoint.sh /entrypoint.sh
+2 -2
View File
@@ -28,8 +28,8 @@ while true; do
break
fi
# 休息 1 秒後重試
sleep 1
# 休息 60 秒後重試
sleep 60
done
# 將狀態碼輸出到環境變數