Lightweight Docker-based development shell for OpenCode CLI.
This project is published with GitHub Pages, opencode.sh is expected to be available at:
https://jscoobyced.github.io/jsc-opencode-dev/opencode.sh
Download, make executable, and run:
curl -fsSL https://jscoobyced.github.io/jsc-opencode-dev/opencode.sh -o opencode.sh
chmod +x opencode.sh
./opencode.sh
Run:
./opencode.sh
What opencode.sh does:
opencode.jsonc (if missing) with a default local llama.cpp provider configuration.docker-compose.yml (if missing).docker compose up -d).docker compose exec ... bash).docker compose down).opencode.jsoncAuto-generated by start.sh if not present. Update this file to match your model server URL and model names.
docker-compose.ymlAuto-generated by start.sh if not present. Current default mounts:
./project -> /home/node/workspace./opencode.jsonc -> /home/node/.config/opencode/opencode.jsoncEdit etc/config/bashrc to customize:
PATH, OPENCODE_PATH, etc.)The Docker image copies this file to /etc/bash/bashrc.
docker compose up -d
docker compose exec jsc-opencode-dev bash
docker compose logs -f jsc-opencode-dev
service "jsc-opencode-dev" is not runningBring the stack up first:
docker compose up -d
no configuration file provided: not foundYou are likely not in the repository root. Run commands from this project directory.
opencode.jsonc.This project is not built by the official OpenCode team and is not affiliated with, endorsed by, or sponsored by OpenCode.
Content type
Image
Digest
sha256:12f5f6556…
Size
392.1 MB
Last updated
10 days ago
docker pull jscdroiddev/jsc-opencode-dev