update dockerfile

This commit is contained in:
2026-07-16 21:09:29 +02:00
parent c93fee4305
commit 46affd3fd7
+3
View File
@@ -59,6 +59,9 @@ RUN npm install --global --omit=dev "opencode-ai@${OPENCODE_VERSION}" \
&& rm -f "/tmp/${asset}" /tmp/gitea-mcp && rm -f "/tmp/${asset}" /tmp/gitea-mcp
COPY opencode /opt/ci-agents/opencode COPY opencode /opt/ci-agents/opencode
RUN chmod -R a-w /opt/ci-agents \
&& chown ci-agent /opt/ci-agents/empty-config/opencode \
&& chmod u+w /opt/ci-agents/empty-config/opencode
ENV XDG_DATA_HOME=/var/lib/opencode-agent/data \ ENV XDG_DATA_HOME=/var/lib/opencode-agent/data \
XDG_CONFIG_HOME=/opt/ci-agents/empty-config \ XDG_CONFIG_HOME=/opt/ci-agents/empty-config \