From 30b94a443e418912c7bfc7a7abb3581692b7b79f Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Fri, 10 May 2024 12:17:47 +0200 Subject: [PATCH] feat: Add Alpine PHP bcmath and sockets features --- README.md | 2 ++ src/alpine-php-bcmath/README.md | 20 +++++++++++++++++++ .../devcontainer-feature.json | 7 +++++++ src/alpine-php-bcmath/install.sh | 9 +++++++++ src/alpine-php-sockets/README.md | 20 +++++++++++++++++++ .../devcontainer-feature.json | 7 +++++++ src/alpine-php-sockets/install.sh | 9 +++++++++ 7 files changed, 74 insertions(+) create mode 100644 src/alpine-php-bcmath/README.md create mode 100644 src/alpine-php-bcmath/devcontainer-feature.json create mode 100644 src/alpine-php-bcmath/install.sh create mode 100644 src/alpine-php-sockets/README.md create mode 100644 src/alpine-php-sockets/devcontainer-feature.json create mode 100644 src/alpine-php-sockets/install.sh diff --git a/README.md b/README.md index ad6b545..952c0c2 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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) diff --git a/src/alpine-php-bcmath/README.md b/src/alpine-php-bcmath/README.md new file mode 100644 index 0000000..b1b0b16 --- /dev/null +++ b/src/alpine-php-bcmath/README.md @@ -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`._ diff --git a/src/alpine-php-bcmath/devcontainer-feature.json b/src/alpine-php-bcmath/devcontainer-feature.json new file mode 100644 index 0000000..cb31201 --- /dev/null +++ b/src/alpine-php-bcmath/devcontainer-feature.json @@ -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" +} \ No newline at end of file diff --git a/src/alpine-php-bcmath/install.sh b/src/alpine-php-bcmath/install.sh new file mode 100644 index 0000000..46e7c69 --- /dev/null +++ b/src/alpine-php-bcmath/install.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-php-bcmath'" + +docker-php-ext-install bcmath + +echo 'Done!' diff --git a/src/alpine-php-sockets/README.md b/src/alpine-php-sockets/README.md new file mode 100644 index 0000000..c50471d --- /dev/null +++ b/src/alpine-php-sockets/README.md @@ -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`._ diff --git a/src/alpine-php-sockets/devcontainer-feature.json b/src/alpine-php-sockets/devcontainer-feature.json new file mode 100644 index 0000000..8220ac8 --- /dev/null +++ b/src/alpine-php-sockets/devcontainer-feature.json @@ -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" +} \ No newline at end of file diff --git a/src/alpine-php-sockets/install.sh b/src/alpine-php-sockets/install.sh new file mode 100644 index 0000000..ff05ca7 --- /dev/null +++ b/src/alpine-php-sockets/install.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-php-sockets'" + +docker-php-ext-install sockets + +echo 'Done!'