Skip to content

Feature Request: Add Latest jq as Official Devcontainer Feature #1454

@joberthar

Description

@joberthar

I would like to request an official devcontainer feature to add the latest version of jq available as a feature, e.g., installable from ghcr.io/devcontainers/features/jq:1 or ghcr.io/devcontainers/features/common-utils:2": { "installJq": true }

Currently, when attempting to use the jq docker image ghcr.io/jqlang/jq:latest as a feature directly in GitHub Codespaces or other devcontainers environments, I encounter the following error during setup:

Resolving Feature dependencies for 'ghcr.io/jqlang/jq:latest'...
TypeError: Cannot read properties of undefined (reading 'mediaType')
...
An error occurred setting up the container.

This suggests the jq image lacks some metadata or compatibility needed to be consumed as a devcontainer feature.

Having an official jq feature would simplify workflows that require JSON processing tools inside devcontainers without need for separate install steps. It would be very helpful if this feature could be versioned and maintained to always provide users with the latest stable jq release.

Some references to jq docker images:

However, these images cannot be directly used as a devcontainer feature today due to the errors mentioned above.

Please consider adding this official feature to the devcontainers/features collection. I believe this would be a valuable addition for many users given jq's frequent use in processing JSON in development environments.

Thank you for your consideration and for maintaining this great resource!

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