Skip to content

Commit

Permalink
refactor(devcontainer): Using feature to install extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Mar 22, 2024
1 parent e0f2748 commit 8e92f87
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions src-devc/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"build": {
"dockerfile": "./Dockerfile",
"context": "../.."
},
"image": "mcr.microsoft.com/devcontainers/php:8.3-bookworm",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "phpctl",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"remoteUser": "phpctl"
"ghcr.io/opencodeco/devcontainers/install-php-extensions:latest": {
"extensions": "swoole"
}
}
}

0 comments on commit 8e92f87

Please sign in to comment.