處理 AI review findings 並改寫 Node.js entrypoint #2

Merged
admin merged 59 commits from develop into master 2026-06-24 14:13:11 +00:00
Showing only changes of commit 8bc4891bca - Show all commits
+3 -2
View File
@@ -5,6 +5,7 @@ ENV CODEX_NON_INTERACTIVE=1
ENV CODEX_INSTALL_DIR=/usr/local/bin ENV CODEX_INSTALL_DIR=/usr/local/bin
ENV CODEX_HOME=/root/.codex ENV CODEX_HOME=/root/.codex
ENV CODEX_PLUGINS="jsc@doc jsc@code-review" ENV CODEX_PLUGINS="jsc@doc jsc@code-review"
ENV CODEX_PLUGIN_MARKETPLACES="https://gitea.jsc.idv.tw/plugins/doc.git https://gitea.jsc.idv.tw/plugins/code-review.git"
# 安裝必要的工具 # 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash ca-certificates curl git jq util-linux RUN apk add --no-cache --no-check-certificate bash ca-certificates curl git jq util-linux
@@ -15,11 +16,11 @@ RUN install_script="$(mktemp)" \
https://chatgpt.com/codex/install.sh \ https://chatgpt.com/codex/install.sh \
-o "$install_script" \ -o "$install_script" \
&& sh "$install_script" \ && sh "$install_script" \
&& codex --version \
&& rm -f "$install_script" && rm -f "$install_script"
# 安裝技能 # 安裝技能
RUN codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/doc.git \ RUN for marketplace in $CODEX_PLUGIN_MARKETPLACES; do codex plugin marketplace add "$marketplace"; done \
&& codex plugin marketplace add https://gitea.jsc.idv.tw/plugins/code-review.git \
&& for plugin in $CODEX_PLUGINS; do codex plugin add "$plugin"; done && for plugin in $CODEX_PLUGINS; do codex plugin add "$plugin"; done
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh