Skip to content

"exitbox run opencode" fails #18

Description

@hobthross
$ exitbox run opencode                                                                                                           1 ⨯
[WARN] Failed to fetch opencode version: empty tag_name
[INFO] Building containers (use -v for build output)
[INFO] Downloading OpenCode latest...
[ERROR] Failed to build images: failed to download OpenCode: HTTP 404 from https://github.com/anomalyco/opencode/releases/download/vlatest/opencode-linux-arm64-musl.tar.gz

"vlatest" is not recognised as a valid tag.

The workaround is to explictly give a version number, "exitbox run opencode --version 1.14.21".

However that option is not documented.

`exitbox run opencode --help
Run OpenCode in an isolated container.

Usage:
exitbox run opencode [args...] [flags]

Flags:
-h, --help help for opencode

Global Flags:
-a, --allow-urls strings Allow extra domains for this session
-e, --env strings Pass environment variables (KEY=VALUE)
-i, --include-dir strings Mount host dir inside /workspace
-n, --no-env Don't pass host environment variables
-f, --no-firewall Disable network firewall
-r, --read-only Mount workspace as read-only
-t, --tools strings Add Alpine packages to the image
-u, --update Check for and apply agent updates
-v, --verbose Enable verbose output`

I'll do a PR to fix that. Feel free to accept or reject.

BTW, it would be really useful to be able to specify the local version of opencode I already have installed, rather than downloading one from github.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions