feat: 重構清理舊版成品
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,11 +1,11 @@
|
||||
FROM alpine:3.21
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache bash curl jq
|
||||
|
||||
COPY cleanup-releases.sh /cleanup-releases.sh
|
||||
COPY cleanup-images.sh /cleanup-images.sh
|
||||
# 更新並安裝必要的工具
|
||||
RUN apk update \
|
||||
&& apk add --no-cache bash curl jq
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /cleanup-releases.sh /cleanup-images.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user