Merge pull request 'feat: 移除 entrypoint 的 /r' (#10) from develop into master
Some checks failed
/ CD > 發布專案 (push) Failing after 1s
Some checks failed
/ CD > 發布專案 (push) Failing after 1s
Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
@@ -2,10 +2,10 @@ FROM alpine:latest
|
|||||||
|
|
||||||
# 更新並安裝必要的工具
|
# 更新並安裝必要的工具
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add --no-cache curl jq bash
|
&& apk add --no-cache curl jq
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user