@opencode-cloud/core 3.2.2 → 3.3.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/README.md +9 -0
- package/package.json +1 -1
- package/src/docker/Dockerfile +3 -3
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -17,6 +17,15 @@ cargo install opencode-cloud
|
|
|
17
17
|
opencode-cloud --version
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
## Deploy to AWS
|
|
21
|
+
|
|
22
|
+
[](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://raw.githubusercontent.com/pRizz/opencode-cloud/main/infra/aws/cloudformation/opencode-cloud-quick.yaml)
|
|
23
|
+
|
|
24
|
+
Quick deploy provisions a private EC2 instance behind a public ALB with HTTPS.
|
|
25
|
+
**A domain name is required** for ACM certificate validation.
|
|
26
|
+
|
|
27
|
+
Docs: `docs/deploy/aws.md` (includes teardown steps)
|
|
28
|
+
|
|
20
29
|
## Features
|
|
21
30
|
|
|
22
31
|
- **Sandboxed execution** - opencode runs inside a Docker container, isolated from your host system
|
package/package.json
CHANGED
package/src/docker/Dockerfile
CHANGED
|
@@ -213,8 +213,8 @@ ENV PATH="/home/opencode/.local/share/mise/shims:${PATH}"
|
|
|
213
213
|
# Rust Installation
|
|
214
214
|
# -----------------------------------------------------------------------------
|
|
215
215
|
# rustup - self-managing installer, trusted to handle versions
|
|
216
|
-
# Uses stable toolchain (
|
|
217
|
-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable \
|
|
216
|
+
# Uses stable toolchain with minimal profile (skip docs and extras)
|
|
217
|
+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal \
|
|
218
218
|
&& . /home/opencode/.cargo/env \
|
|
219
219
|
&& rustup default stable \
|
|
220
220
|
&& rustup component add rust-analyzer rustfmt clippy
|
|
@@ -517,7 +517,7 @@ RUN echo 'export PATH="/home/opencode/.local/bin:$PATH"' >> /home/opencode/.zshr
|
|
|
517
517
|
# Clone the fork and build opencode from source (as non-root user)
|
|
518
518
|
# Pin to specific commit for reproducibility
|
|
519
519
|
# Build opencode from source (BuildKit cache mounts disabled for now)
|
|
520
|
-
RUN OPENCODE_COMMIT="
|
|
520
|
+
RUN OPENCODE_COMMIT="34db1c9b23441b3b3a125c107149f346f9fdb96e" \
|
|
521
521
|
&& rm -rf /tmp/opencode-repo \
|
|
522
522
|
&& git clone --depth 1 https://github.com/pRizz/opencode.git /tmp/opencode-repo \
|
|
523
523
|
&& cd /tmp/opencode-repo \
|