mirror of
https://github.com/penpot/penpot.git
synced 2026-09-25 21:36:15 +00:00
⬆️ Upgrade opencode2 to 2.0.15
Bump the OpenCode V2 binary in the devenv image from 2.0.12 to the current npm latest tag (2.0.15) and refresh the per-architecture SHA-256 checksums for both arm64 and amd64 tarballs. AI-assisted-by: deepseek-v4.1-flash
This commit is contained in:
parent
b3c1aab720
commit
f64cc1eb8e
@ -136,18 +136,18 @@ RUN set -ex; \
|
|||||||
|
|
||||||
FROM base AS setup-opencode2
|
FROM base AS setup-opencode2
|
||||||
|
|
||||||
ENV OPENCODE2_VERSION=2.0.12
|
ENV OPENCODE2_VERSION=2.0.15
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
ARCH="$(dpkg --print-architecture)"; \
|
ARCH="$(dpkg --print-architecture)"; \
|
||||||
case "${ARCH}" in \
|
case "${ARCH}" in \
|
||||||
aarch64|arm64) \
|
aarch64|arm64) \
|
||||||
BINARY_URL="https://registry.npmjs.org/@opencode/cli-linux-arm64/-/cli-linux-arm64-${OPENCODE2_VERSION}.tgz"; \
|
BINARY_URL="https://registry.npmjs.org/@opencode/cli-linux-arm64/-/cli-linux-arm64-${OPENCODE2_VERSION}.tgz"; \
|
||||||
ESUM='33f0dde9f0f055b6a3665d290371bcfc8c63daceade7a535c4b94d386f2bd917'; \
|
ESUM='add6b6f92c05db3fb31b7ccf30f42cab38e72475e707f78c3d3c5e52ce60e22f'; \
|
||||||
;; \
|
;; \
|
||||||
amd64|x86_64) \
|
amd64|x86_64) \
|
||||||
BINARY_URL="https://registry.npmjs.org/@opencode/cli-linux-x64/-/cli-linux-x64-${OPENCODE2_VERSION}.tgz"; \
|
BINARY_URL="https://registry.npmjs.org/@opencode/cli-linux-x64/-/cli-linux-x64-${OPENCODE2_VERSION}.tgz"; \
|
||||||
ESUM='2a79beb2e24382cb2bdbb709237dbc22f498cf52a106d029a6a3a3243760c78b'; \
|
ESUM='5ba4e87d9ee5dd5ce3aa45acdba1c6d37acdd282d450d6b65fb45226d6da44cc'; \
|
||||||
;; \
|
;; \
|
||||||
*) \
|
*) \
|
||||||
echo "Unsupported arch: ${ARCH}"; exit 1; \
|
echo "Unsupported arch: ${ARCH}"; exit 1; \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user