fix(docker): system git config for credential helper and user identity

This commit is contained in:
opencode-agent 2026-07-27 00:34:38 +00:00
parent caebe64883
commit c1f3b4d519

View file

@ -28,6 +28,10 @@ RUN mkdir -p -m 0755 /etc/apt/keyrings \
RUN curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o /usr/local/bin/cloudflared && chmod +x /usr/local/bin/cloudflared RUN curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o /usr/local/bin/cloudflared && chmod +x /usr/local/bin/cloudflared
RUN git config --system credential.helper '!gh auth git-credential' && \
git config --system user.name "opencode-agent" && \
git config --system user.email "agent@opencode.local"
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true