Unverified Commit 44694d69 authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

Options: Follow camelCase (#89)

rename Options
parent aecf2ad1
{
"id": "common-utils",
"name": "Common Debian Utilities",
"version": "1.0.0",
"version": "1.0.1",
"description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.",
"options": {
"install_Zsh": {
"installZsh": {
"type": "boolean",
"default": true,
"description": "Install ZSH?"
},
"install_Oh_My_Zsh": {
"installOhMyZsh": {
"type": "boolean",
"default": true,
"description": "Install Oh My Zsh!?"
},
"upgrade_packages": {
"upgradePackages": {
"type": "boolean",
"default": true,
"description": "Upgrade OS packages?"
......@@ -30,7 +30,7 @@
"default": "automatic",
"description": "Enter name of non-root user to configure or none to skip"
},
"user_uid": {
"uid": {
"type": "string",
"proposals": [
"1000",
......@@ -39,7 +39,7 @@
"default": "automatic",
"description": "Enter uid for non-root user"
},
"user_gid": {
"gid": {
"type": "string",
"proposals": [
"1000",
......@@ -48,7 +48,7 @@
"default": "automatic",
"description": "Enter gid for non-root user"
},
"add_non_free_packages": {
"nonFreePackages": {
"type": "boolean",
"default": false,
"description": "Add packages from non-free Debian repository?"
......
......@@ -9,13 +9,13 @@
set -e
INSTALL_ZSH=${INSTALL_ZSH:-"true"}
INSTALL_OH_MY_ZSH=${INSTALL_OH_MY_ZSH:-"true"}
UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-"true"}
INSTALL_ZSH=${INSTALLZSH:-"true"}
INSTALL_OH_MY_ZSH=${INSTALLOHMYZSH:-"true"}
UPGRADE_PACKAGES=${UPGRADEPACKAGES:-"true"}
USERNAME=${USERNAME:-"automatic"}
USER_UID=${USER_UID:-"automatic"}
USER_GID=${USER_GID:-"automatic"}
ADD_NON_FREE_PACKAGES=${ADD_NON_FREE_PACKAGES:-"false"}
USER_UID=${UID:-"automatic"}
USER_GID=${GID:-"automatic"}
ADD_NON_FREE_PACKAGES=${NONFREEPACKAGES:-"false"}
DEV_CONTAINERS_DIR="/usr/local/etc/vscode-dev-containers"
MARKER_FILE="${DEV_CONTAINERS_DIR}/common"
......
{
"id": "desktop-lite",
"version": "1.0.0",
"version": "1.0.1",
"name": "Light-weight Desktop",
"description": "Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically.",
"options": {
......@@ -12,7 +12,7 @@
"default": "latest",
"description": "Currently Unused!"
},
"novnc_version": {
"noVncVersion": {
"type": "string",
"proposals": [
"1.2.0"
......@@ -20,7 +20,7 @@
"default": "1.2.0",
"description": "NoVnc Version"
},
"vnc_password": {
"password": {
"type": "string",
"proposals": [
"vscode",
......@@ -30,7 +30,7 @@
"default": "vscode",
"description": "Enter a password for desktop connections"
},
"novnc_port": {
"webPort": {
"type": "string",
"proposals": [
"6080"
......@@ -38,7 +38,7 @@
"default": "6080",
"description": "Enter a port for the VNC web client"
},
"vnc_port": {
"vncPort": {
"type": "string",
"proposals": [
"5901"
......
......@@ -7,10 +7,10 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md
# Maintainer: The VS Code and Codespaces Teams
NOVNC_VERSION=${NOVNC_VERSION:-"1.2.0"} # TODO: Add in a 'latest' auto-detect and swap name to 'version'
VNC_PASSWORD=${VNC_PASSWORD:-"vscode"}
NOVNC_PORT="${NOVNC_PORT:-6080}"
VNC_PORT="${VNC_PORT:-5901}"
NOVNC_VERSION=${NOVNCVERSION:-"1.2.0"} # TODO: Add in a 'latest' auto-detect and swap name to 'version'
VNC_PASSWORD=${PASSWORD:-"vscode"}
NOVNC_PORT="${WEBPORT:-6080}"
VNC_PORT="${VNCPORT:-5901}"
INSTALL_NOVNC=${INSTALL_NOVNC:-"true"}
USERNAME=${USERNAME:-"automatic"}
......
{
"id": "docker-from-docker",
"version": "1.0.0",
"version": "1.0.1",
"name": "Docker (Docker-from-Docker)",
"descripton": "Re-use the host docker socket, adding the Docker CLI to a container. Feature invokes a script to enable using a forwarded Docker socket within a container to run Docker commands.",
"options": {
......@@ -19,7 +19,7 @@
"default": true,
"description": "Install OSS Moby build instead of Docker CE"
},
"docker_dash_compose_version": {
"dockerDashComposeVersion": {
"type": "string",
"enum": [
"v1",
......
......@@ -9,7 +9,7 @@
DOCKER_VERSION=${VERSION:-"latest"}
USE_MOBY=${MOBY:-"true"}
DOCKER_DASH_COMPOSE_VERSION=${DOCKER_DASH_COMPOSE_VERSION:-"v1"} # v1 or v2
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"}
SOURCE_SOCKET=${SOURCE_SOCKET:-"/var/run/docker-host.sock"}
......
{
"id": "docker-in-docker",
"version": "1.0.0",
"version": "1.0.1",
"name": "Docker (Docker-in-Docker)",
"description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.",
"options": {
......@@ -19,7 +19,7 @@
"default": true,
"description": "Install OSS Moby build instead of Docker CE"
},
"docker_dash_compose_version": {
"dockerDashComposeVersion": {
"type": "string",
"enum": [
"v1",
......
......@@ -10,7 +10,7 @@
DOCKER_VERSION=${VERSION:-"latest"} # The Docker/Moby Engine + CLI should match in version
USE_MOBY=${MOBY:-"true"}
DOCKER_DASH_COMPOSE_VERSION=${DOCKER_DASH_COMPOSE_VERSION:-"v1"} # v1 or v2
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"}
USERNAME=${USERNAME:-"automatic"}
......
{
"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"
......
......@@ -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
......
{
"id": "java",
"version": "1.0.1",
"version": "1.0.2",
"name": "Java (via SDKMAN!)",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
"options": {
......@@ -16,12 +16,12 @@
"default": "latest",
"description": "Select or enter a Java version to install"
},
"install_gradle": {
"installGradle": {
"type": "boolean",
"default": false,
"description": "Install Gradle, a build automation tool for multi-language software development"
},
"install_maven": {
"installMaven": {
"type": "boolean",
"default": false,
"description": "Install Maven, a management tool for Java"
......
......@@ -10,8 +10,8 @@
# Syntax: ./java-debian.sh [JDK version] [SDKMAN_DIR] [non-root user] [Add to rc files flag]
JAVA_VERSION=${VERSION:-"lts"}
INSTALL_GRADLE=${INSTALL_GRADLE:-"false"}
INSTALL_MAVEN=${INSTALL_MAVEN:-"false"}
INSTALL_GRADLE=${INSTALLGRADLE:-"false"}
INSTALL_MAVEN=${INSTALLMAVEN:-"false"}
export SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"}
USERNAME=${USERNAME:-"automatic"}
......@@ -19,7 +19,7 @@ UPDATE_RC=${UPDATE_RC:-"true"}
# Comma-separated list of java versions to be installed
# alongside JAVA_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
set -e
......
{
"id": "node",
"version": "1.0.0",
"version": "1.0.1",
"name": "Node.js (via nvm) and yarn",
"description": "Installs Node.js, nvm, yarn, and needed dependencies.",
"options": {
......@@ -17,12 +17,12 @@
"default": "lts",
"description": "Select or enter a Node.js version to install"
},
"install_tools_for_node_gyp": {
"nodeGypDependencies": {
"type": "boolean",
"default": true,
"description": "Install dependencies to compile native node modules (node-gyp)?"
},
"nvm_install_path": {
"nvmInstallPath": {
"type": "string",
"default": "/usr/local/share/nvm",
"description": "The path where NVM will be installed."
......
......@@ -8,12 +8,12 @@
# Maintainer: The VS Code and Codespaces Teams
export NODE_VERSION=${VERSION:-"lts"}
export NVM_DIR=${NVM_INSTALL_PATH:-"/usr/local/share/nvm"}
INSTALL_TOOLS_FOR_NODE_GYP="${INSTALL_TOOLS_FOR_NODE_GYP:-true}"
export NVM_DIR=${NVMINSTALLPATH:-"/usr/local/share/nvm"}
INSTALL_TOOLS_FOR_NODE_GYP="${NODEGYPDEPENDENCIES:-true}"
# Comma-separated list of node versions to be installed (with nvm)
# alongside NODE_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
USERNAME=${USERNAME:-"automatic"}
UPDATE_RC=${UPDATE_RC:-"true"}
......
{
"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": [
......
......@@ -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
......
{
"id": "python",
"version": "1.0.0",
"version": "1.0.1",
"name": "Python",
"description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.",
"options": {
......@@ -19,7 +19,7 @@
"default": "os-provided",
"description": "Select a Python version to install."
},
"install_python_tools": {
"installTools": {
"type": "boolean",
"default": true,
"description": "Install common Python tools like pylint"
......@@ -34,17 +34,12 @@
"default": "/usr/local/python",
"description": "The path where python will be installed."
},
"override_default_version": {
"type": "boolean",
"default": "true",
"description": "If true, overrides existing version (if any) of python on the PATH"
},
"install_jupyterlab": {
"installJupyterlab": {
"type": "boolean",
"default": false,
"description": "Install JupyterLab, a web-based interactive development environment for notebooks"
},
"configure_jupyterlab_allow_origin": {
"configureJupyterlabAllowOrigin": {
"type": "string",
"default": "",
"description": "Configure JupyterLab to accept HTTP requests from the specified origin"
......
......@@ -8,10 +8,10 @@
# Maintainer: The VS Code and Codespaces Teams
PYTHON_VERSION=${VERSION:-"latest"} # 'system' checks the base image first, else installs 'latest'
INSTALL_PYTHON_TOOLS=${INSTALL_PYTHON_TOOLS:-"true"}
INSTALL_PYTHON_TOOLS=${INSTALLTOOLS:-"true"}
OPTIMIZE_BUILD_FROM_SOURCE=${OPTIMIZE:-"false"}
PYTHON_INSTALL_PATH=${INSTALL_PATH:-"/usr/local/python"}
OVERRIDE_DEFAULT_VERSION=${OVERRIDE_DEFAULT_VERSION:-"true"}
OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
export PIPX_HOME=${PIPX_HOME:-"/usr/local/py-utils"}
......@@ -19,12 +19,12 @@ USERNAME=${USERNAME:-"automatic"}
UPDATE_RC=${UPDATE_RC:-"true"}
USE_ORYX_IF_AVAILABLE=${USE_ORYX_IF_AVAILABLE:-"true"}
INSTALL_JUPYTERLAB=${INSTALL_JUPYTERLAB:-"false"}
CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN=${CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN:-""}
INSTALL_JUPYTERLAB=${INSTALLJUPYTERLAB:-"false"}
CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN=${CONFIGUREJUPYTERLABALLOWORIGIN:-""}
# Comma-separated list of python versions to be installed
# alongside PYTHON_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
DEFAULT_UTILS=("pylint" "flake8" "autopep8" "black" "yapf" "mypy" "pydocstyle" "pycodestyle" "bandit" "pipenv" "virtualenv")
PYTHON_SOURCE_GPG_KEYS="64E628F8D684696D B26995E310250568 2D347EA6AA65421D FB9921286F5E1540 3A5CA953F73C700D 04C367C218ADD4FF 0EDDC5F26A45C816 6AF053F07D9DC8D2 C9BE28DEE6DF025C 126EB563A74B06BF D9866941EA5BBD71 ED9D77D5"
......
......@@ -15,7 +15,7 @@ INSTALL_RUBY_TOOLS=${INSTALL_RUBY_TOOLS:-"true"}
# Comma-separated list of ruby versions to be installed (with rvm)
# alongside RUBY_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""}
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
# Note: ruby-debug-ide will install the right version of debase if missing and
# installing debase directly fails on Ruby 3.1.0 as of 1/7/2022, so omitting.
......
......@@ -4,8 +4,8 @@
"features": {
"java": {
"version": "latest",
"install_gradle": true,
"install_maven": true
"installGradle": true,
"installMaven": true
}
}
},
......@@ -14,7 +14,7 @@
"features": {
"php": {
"version": "8.1.4",
"additional_versions": "8.0.17,8.0.3"
"additionalVersions": "8.0.17,8.0.3"
}
}
},
......@@ -23,7 +23,7 @@
"features": {
"java": {
"version": "17",
"additional_versions": "11,8"
"additionalVersions": "11,8"
}
}
},
......@@ -35,8 +35,8 @@
"username": "vscode"
},
"python": {
"install_jupyterlab": true,
"configure_jupyterlab_allow_origin": "*"
"installJupyterlab": true,
"configureJupyterlabAllowOrigin": "*"
}
}
},
......@@ -45,7 +45,7 @@
"features": {
"node": {
"version": "latest",
"additional_versions": "v17.9.1,v14.19.3"
"additionalVersions": "v17.9.1,v14.19.3"
}
}
},
......@@ -54,7 +54,7 @@
"features": {
"python": {
"version": "3.10.5",
"additional_versions": "3.8,3.9.13"
"additionalVersions": "3.8,3.9.13"
}
}
},
......@@ -63,7 +63,7 @@
"features": {
"ruby": {
"version": "3.1.2",
"additional_versions": "2.5,3.0.4"
"additionalVersions": "2.5,3.0.4"
}
}
},
......@@ -72,7 +72,7 @@
"features": {
"dotnet": {
"version": "6.0.301",
"additional_versions": "5.0,3.1.420"
"additionalVersions": "5.0,3.1.420"
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment