@opencode-cloud/core 3.1.8 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/package.json +1 -1
- package/src/docker/Dockerfile +5 -1
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/src/docker/Dockerfile
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
# -----------------------------------------------------------------------------
|
|
35
35
|
FROM ubuntu:24.04 AS runtime
|
|
36
36
|
|
|
37
|
+
# Pin opencode fork commit used during build
|
|
38
|
+
ARG OPENCODE_COMMIT=798ccdba1265b7e5499ba49db2f99ca1dd4a15d7
|
|
39
|
+
|
|
37
40
|
# OCI Labels for image metadata
|
|
38
41
|
LABEL org.opencontainers.image.title="opencode-cloud"
|
|
39
42
|
LABEL org.opencontainers.image.description="AI-assisted development environment with opencode"
|
|
@@ -520,7 +523,8 @@ RUN echo 'export PATH="/home/opencode/.local/bin:$PATH"' >> /home/opencode/.zshr
|
|
|
520
523
|
RUN rm -rf /tmp/opencode-repo \
|
|
521
524
|
&& git clone --depth 1 https://github.com/pRizz/opencode.git /tmp/opencode-repo \
|
|
522
525
|
&& cd /tmp/opencode-repo \
|
|
523
|
-
&& git
|
|
526
|
+
&& git fetch --depth 1 origin "${OPENCODE_COMMIT}" \
|
|
527
|
+
&& git checkout "${OPENCODE_COMMIT}" \
|
|
524
528
|
&& curl -fsSL https://bun.sh/install | bash -s "bun-v1.3.5" \
|
|
525
529
|
&& export PATH="/home/opencode/.bun/bin:${PATH}" \
|
|
526
530
|
&& bun install --frozen-lockfile \
|