Skip to content

opencode.ai v1.0.7 breaks installation on non-Debian containers #274

@williameggers

Description

@williameggers

I’m running a devcontainer based on amazonlinux:2023, which uses yum.

Up until recently, the opencode.ai feature plugin worked fine - my last successful install was with v1.0.6.

Since upgrading to v1.0.7, I’m now seeing:

0.258 ===========================================================================
0.258 Feature       : opencode.ai
0.258 Description   : Install "opencode" binary
0.258 Id            : ghcr.io/devcontainer-community/devcontainer-features/opencode.ai
0.258 Version       : 1.0.7
0.258 Documentation : https://github.com/devcontainer-community/devcontainer-features/tree/main/src/opencode.ai
0.258 Options       :
0.258     VERSION="latest"
0.258 ===========================================================================
0.260 devcontainer.community
0.260 Installing opencode...
5.068 ./install.sh: line 25: apt-get: command not found
5.069 ERROR: Feature "opencode.ai" (ghcr.io/devcontainer-community/devcontainer-features/opencode.ai) failed to install! Look at the documentation at https://github.com/devcontainer-community/devcontainer-features/tree/main/src/opencode.ai for help troubleshooting this error.

This suggests the install script now assumes a Debian-based environment (apt-get), which breaks on Amazon Linux.

Are devcontainer features expected to support non-Debian base images, or is Debian/Ubuntu effectively a requirement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions