Skip to content

Remove duplicate OpenCode installation from devcontainer setup #61

Open

Description

@coderabbitai

Summary

The devcontainer configuration installs OpenCode twice. The ghcr.io/sliekens/devcontainer-features/opencode:1 feature already installs the opencode CLI. The opencode entry in postCreateCommand downloads and installs another copy through eget.

Required changes

  • Remove the opencode entry from postCreateCommand in .devcontainer/devcontainer.json.
  • Keep the OpenCode devcontainer feature and its persistent configuration setup.
  • Leave unrelated installation commands unchanged.

This removes an unnecessary archive download and avoids maintaining two installation paths for the same CLI.

Acceptance criteria

  • The devcontainer configuration has only one OpenCode installation path.
  • OpenCode remains available in a newly created devcontainer.
  • The existing OpenCode persistent data and configuration setup remains unchanged.

References

Activity

  1. kenorb commented on Oct 5, 2026

    @kenorb
    Owner

    Note: Preferred install way is via eget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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