Skip to content

Commit

Permalink
add alpine-php-pcntl
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Mar 12, 2024
1 parent 0dd48e1 commit b81d0c9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/alpine-php-pcntl/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-php-pcntl",
"id": "alpine-php-pcntl",
"version": "0.0.1",
"description": "Installs pcntl extension for php on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-php-pcntl"
}
9 changes: 9 additions & 0 deletions src/alpine-php-pcntl/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-php-pcntl'"

docker-php-ext-install pcntl

echo 'Done!'

0 comments on commit b81d0c9

Please sign in to comment.