added LSP configuration to opencode
Some checks failed
CI / Build opencode docker images (push) Failing after 8s

This commit is contained in:
2026-03-05 21:54:01 +08:00
parent 76b71e2931
commit 84f8af0c28
2 changed files with 31 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ 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
USER opencode
WORKDIR /workspace
ENTRYPOINT ["opencode"]