diff --git a/src/alpine-php-intl/devcontainer-feature.json b/src/alpine-php-intl/devcontainer-feature.json new file mode 100644 index 0000000..a05c97a --- /dev/null +++ b/src/alpine-php-intl/devcontainer-feature.json @@ -0,0 +1,7 @@ +{ + "name": "alpine-php-intl", + "id": "alpine-php-intl", + "version": "0.0.1", + "description": "Installs intl for php on alpine", + "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-php-intl" +} \ No newline at end of file diff --git a/src/alpine-php-intl/install.sh b/src/alpine-php-intl/install.sh new file mode 100644 index 0000000..67f3146 --- /dev/null +++ b/src/alpine-php-intl/install.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-php-intl'" + +# apk --no-cache add libintl icu-dev +docker-php-ext-install intl + +echo 'Done!' \ No newline at end of file