Skip to content

Commit

Permalink
feat: Add Alpine PHP bcmath and sockets features
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed May 10, 2024
1 parent 203f82d commit 30b94a4
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- [alpine-openssh](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-openssh)
- [alpine-patch](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-patch)
- [alpine-pgsql-client](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-pgsql-client)
- [alpine-php-bcmath](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-bcmath)
- [alpine-php-composer](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-composer)
- [alpine-php-ftp](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-ftp)
- [alpine-php-gd](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-gd)
Expand All @@ -34,6 +35,7 @@
- [alpine-php-pgsql](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-pgsql)
- [alpine-php-posix](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-posix)
- [alpine-php-soap](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-soap)
- [alpine-php-sockets](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-sockets)
- [alpine-php-xdebug](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-xdebug)
- [alpine-php-zip](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-zip)
- [alpine-phpstorm-libs](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-phpstorm-libs)
Expand Down
20 changes: 20 additions & 0 deletions src/alpine-php-bcmath/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# alpine-php-bcmath (alpine-php-bcmath)

Installs bcmath extension for php on alpine

## Example Usage

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-php-bcmath:0": {}
}
```





---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-php-bcmath/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
7 changes: 7 additions & 0 deletions src/alpine-php-bcmath/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-php-bcmath",
"id": "alpine-php-bcmath",
"version": "0.0.1",
"description": "Installs bcmath extension for php on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-php-bcmath"
}
9 changes: 9 additions & 0 deletions src/alpine-php-bcmath/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-bcmath'"

docker-php-ext-install bcmath

echo 'Done!'
20 changes: 20 additions & 0 deletions src/alpine-php-sockets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# alpine-php-sockets (alpine-php-sockets)

Installs sockets extension for php on alpine

## Example Usage

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-php-sockets:0": {}
}
```





---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-php-sockets/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
7 changes: 7 additions & 0 deletions src/alpine-php-sockets/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-php-sockets",
"id": "alpine-php-sockets",
"version": "0.0.1",
"description": "Installs sockets extension for php on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-php-sockets"
}
9 changes: 9 additions & 0 deletions src/alpine-php-sockets/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-sockets'"

docker-php-ext-install sockets

echo 'Done!'

0 comments on commit 30b94a4

Please sign in to comment.