aboutsummaryrefslogtreecommitdiff
path: root/src/php
diff options
context:
space:
mode:
Diffstat (limited to 'src/php')
-rw-r--r--src/php/devcontainer-feature.json9
-rwxr-xr-xsrc/php/install.sh6
2 files changed, 5 insertions, 10 deletions
diff --git a/src/php/devcontainer-feature.json b/src/php/devcontainer-feature.json
index ef6392e..30d9002 100644
--- a/src/php/devcontainer-feature.json
+++ b/src/php/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "php",
- "version": "1.0.0",
+ "version": "1.0.1",
"name": "PHP",
"options": {
"version": {
@@ -12,15 +12,10 @@
"default": "latest",
"description": "Select or enter a PHP version"
},
- "install_composer": {
+ "installComposer": {
"type": "boolean",
"default": true,
"description": "Install PHP Composer?"
- },
- "override_default_version": {
- "type": "boolean",
- "default": "true",
- "description": "If true, overrides existing version (if any) of dotnet on the PATH"
}
},
"extensions": [
diff --git a/src/php/install.sh b/src/php/install.sh
index 7380114..0807fb7 100755
--- a/src/php/install.sh
+++ b/src/php/install.sh
@@ -9,8 +9,8 @@
set -eux
VERSION=${VERSION:-"latest"}
-INSTALL_COMPOSER=${INSTALL_COMPOSER:-"true"}
-OVERRIDE_DEFAULT_VERSION=${OVERRIDE_DEFAULT_VERSION:-"true"}
+INSTALL_COMPOSER=${INSTALLCOMPOSER:-"true"}
+OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
export PHP_DIR=${PHP_DIR:-"/usr/local/php"}
USERNAME=${USERNAME:-"automatic"}
@@ -18,7 +18,7 @@ UPDATE_RC=${UPDATE_RC:-"true"}
# Comma-separated list of php versions to be installed
# alongside VERSION, but not set as default.
-ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
+ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
export DEBIAN_FRONTEND=noninteractive