Skip to content

Commit

Permalink
feat: composer feature
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Dec 13, 2023
1 parent b497ed3 commit 61751f7
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions feature_definitions/composer/feature-definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"id": "composer",
"version": "1.0.0",
"name": "Composer (via Github Releases)",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/composer",
"description": "Composer is an open source dependency management tool for PHP.",
"options": {
"version": {
"default": "latest",
"description": "Select the version to install.",
"proposals": [
"latest"
],
"type": "string"
}
},
"installsAfter": [
"ghcr.io/devcontainers-contrib/features/gh-release"
],
"dependencies": [
{
"feature": "ghcr.io/devcontainers-contrib/features/gh-release:1.0.24",
"options": {
"repo": "composer/composer",
"binaryNames": "composer",
"version": "$options.version"
}
}
],
"install_command": "echo 'Done!'",
"test_scenarios": [
{
"name": "test_defaults_debian",
"image": "mcr.microsoft.com/devcontainers/php",
"test_commands": [
"composer --version"
],
"options": {},
"features": {}
}
]
}

0 comments on commit 61751f7

Please sign in to comment.