aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet')
-rw-r--r--src/dotnet/devcontainer-feature.json11
-rwxr-xr-xsrc/dotnet/install.sh8
2 files changed, 7 insertions, 12 deletions
diff --git a/src/dotnet/devcontainer-feature.json b/src/dotnet/devcontainer-feature.json
index b5ca2e8..156d1f0 100644
--- a/src/dotnet/devcontainer-feature.json
+++ b/src/dotnet/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "dotnet",
- "version": "1.0.0",
+ "version": "1.0.1",
"name": "Dotnet CLI",
"description": "Installs the .NET CLI. Provides option of installing sdk or runtime, and option of versions to install. Uses latest version of .NET sdk as defaults to install.",
"options": {
@@ -15,17 +15,12 @@
"default": "latest",
"description": "Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.)"
},
- "runtime_only": {
+ "runtimeOnly": {
"type": "boolean",
"default": false,
"description": "Install just the dotnet runtime if true, and sdk if false."
},
- "override_default_version": {
- "type": "boolean",
- "default": "true",
- "description": "If true, overrides existing version (if any) of dotnet on the PATH"
- },
- "install_using_apt": {
+ "installUsingApt": {
"type": "boolean",
"default": "true",
"description": "If true, it installs using apt instead of the release URL"
diff --git a/src/dotnet/install.sh b/src/dotnet/install.sh
index 3e4bfec..44fbe54 100755
--- a/src/dotnet/install.sh
+++ b/src/dotnet/install.sh
@@ -8,9 +8,9 @@
# Maintainer: The VS Code and Codespaces Teams
DOTNET_VERSION=${VERSION:-"latest"}
-DOTNET_RUNTIME_ONLY=${RUNTIME_ONLY:-"false"}
-OVERRIDE_DEFAULT_VERSION=${OVERRIDE_DEFAULT_VERSION:-"true"}
-INSTALL_USING_APT=${INSTALL_USING_APT:-"true"}
+DOTNET_RUNTIME_ONLY=${RUNTIMEONLY:-"false"}
+OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
+INSTALL_USING_APT=${INSTALLUSINGAPT:-"true"}
USERNAME=${USERNAME:-"automatic"}
UPDATE_RC=${UPDATE_RC:-"true"}
@@ -28,7 +28,7 @@ DOTNET_VERSION_CODENAMES_REQUIRE_OLDER_LIBSSL_1="buster bullseye bionic focal hi
# Comma-separated list of dotnet versions to be installed
# alongside DOTNET_VERSION, but not set as default.
-ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
+ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
# Exit on failure.
set -e