updated opencode image
All checks were successful
CI / Build opencode docker images (push) Successful in 54s

This commit is contained in:
2026-03-13 04:18:16 +08:00
parent 410234687a
commit 4a55196cd2
2 changed files with 6 additions and 5 deletions

View File

@@ -20,7 +20,8 @@ ADD https://github.com/anomalyco/opencode/releases/download/v${OPENCODE_VERSION}
FROM builder-${TARGETPLATFORM//\//_} AS release
RUN tar -xvf ./opencode.tgz -C /usr/bin
RUN rm opencode.tgz
ADD --chown=opencode:opencode ./opencode.json /var/lib/opencode/.config/opencode/opencode.json
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json
ENV OPENCODE_CONFIG=/etc/opencode/opencode.json
USER opencode
WORKDIR /workspace
ENTRYPOINT ["opencode"]