Unverified Commit d1972b4d authored by Chuck Lantz's avatar Chuck Lantz Committed by GitHub

Use _REMOTE_USER when available (#264)

* Use _REMOTE_USER when available

* Update src/python/install.sh
Co-authored-by: 's avatarSamruddhi Khandale <skhandale@microsoft.com>

* Update src/python/install.sh
Co-authored-by: 's avatarSamruddhi Khandale <skhandale@microsoft.com>

* Fix java test issue - JDK 18 not available for the "open" distro

* Bump breakfix numbers
Co-authored-by: 's avatarSamruddhi Khandale <skhandale@microsoft.com>
Co-authored-by: 's avatarJosh Spicer <joshspicer@github.com>
parent 4af4c291
{ {
"id": "anaconda", "id": "anaconda",
"version": "1.0.9", "version": "1.0.10",
"name": "Anaconda", "name": "Anaconda",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/anaconda", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/anaconda",
"options": { "options": {
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
VERSION=${VERSION:-"latest"} VERSION="${VERSION:-"latest"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"} CONDA_DIR="${CONDA_DIR:-"/usr/local/conda"}"
set -eux set -eux
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
......
{ {
"id": "common-utils", "id": "common-utils",
"version": "1.1.5", "version": "1.1.6",
"name": "Common Debian Utilities", "name": "Common Debian Utilities",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/common-utils", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/common-utils",
"description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.", "description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.",
......
...@@ -12,13 +12,13 @@ set -e ...@@ -12,13 +12,13 @@ set -e
# Clean up # Clean up
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
INSTALL_ZSH=${INSTALLZSH:-"true"} INSTALL_ZSH="${INSTALLZSH:-"true"}"
INSTALL_OH_MY_ZSH=${INSTALLOHMYZSH:-"true"} INSTALL_OH_MY_ZSH="${INSTALLOHMYZSH:-"true"}"
UPGRADE_PACKAGES=${UPGRADEPACKAGES:-"true"} UPGRADE_PACKAGES="${UPGRADEPACKAGES:-"true"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
USER_UID=${UID:-"automatic"} USER_UID="${UID:-"automatic"}"
USER_GID=${GID:-"automatic"} USER_GID="${GID:-"automatic"}"
ADD_NON_FREE_PACKAGES=${NONFREEPACKAGES:-"false"} ADD_NON_FREE_PACKAGES="${NONFREEPACKAGES:-"false"}"
MARKER_FILE="/usr/local/etc/vscode-dev-containers/common" MARKER_FILE="/usr/local/etc/vscode-dev-containers/common"
......
{ {
"id": "conda", "id": "conda",
"version": "1.0.5", "version": "1.0.6",
"name": "Conda", "name": "Conda",
"description": "A cross-platform, language-agnostic binary package manager", "description": "A cross-platform, language-agnostic binary package manager",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/conda", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/conda",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
VERSION=${VERSION:-"latest"} VERSION=${VERSION:-"latest"}
ADD_CONDA_FORGE=$ADDCONDAFORGE ADD_CONDA_FORGE=$ADDCONDAFORGE
USERNAME="automatic" USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC="true" UPDATE_RC="true"
CONDA_DIR="/opt/conda" CONDA_DIR="/opt/conda"
......
{ {
"id": "desktop-lite", "id": "desktop-lite",
"version": "1.0.5", "version": "1.0.6",
"name": "Light-weight Desktop", "name": "Light-weight Desktop",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/desktop-lite", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/desktop-lite",
"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.", "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.",
......
...@@ -7,14 +7,13 @@ ...@@ -7,14 +7,13 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
NOVNC_VERSION=${NOVNCVERSION:-"1.2.0"} # TODO: Add in a 'latest' auto-detect and swap name to 'version' NOVNC_VERSION="${NOVNCVERSION:-"1.2.0"}" # TODO: Add in a 'latest' auto-detect and swap name to 'version'
VNC_PASSWORD=${PASSWORD:-"vscode"} VNC_PASSWORD=${PASSWORD:-"vscode"}
NOVNC_PORT="${WEBPORT:-6080}" NOVNC_PORT="${WEBPORT:-6080}"
VNC_PORT="${VNCPORT:-5901}" VNC_PORT="${VNCPORT:-5901}"
INSTALL_NOVNC=${INSTALL_NOVNC:-"true"} INSTALL_NOVNC="${INSTALL_NOVNC:-"true"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
WEBSOCKETIFY_VERSION=0.10.0 WEBSOCKETIFY_VERSION=0.10.0
......
{ {
"id": "docker-from-docker", "id": "docker-from-docker",
"version": "1.0.6", "version": "1.0.7",
"name": "Docker (Docker-from-Docker)", "name": "Docker (Docker-from-Docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-from-docker", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/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.", "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.",
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/docker.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/docker.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
DOCKER_VERSION=${VERSION:-"latest"} DOCKER_VERSION="${VERSION:-"latest"}"
USE_MOBY=${MOBY:-"true"} USE_MOBY="${MOBY:-"true"}"
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2 DOCKER_DASH_COMPOSE_VERSION="${DOCKERDASHCOMPOSEVERSION:-"v1"}" # v1 or v2
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"} ENABLE_NONROOT_DOCKER="${ENABLE_NONROOT_DOCKER:-"true"}"
SOURCE_SOCKET=${SOURCE_SOCKET:-"/var/run/docker-host.sock"} SOURCE_SOCKET="${SOURCE_SOCKET:-"/var/run/docker-host.sock"}"
TARGET_SOCKET=${TARGET_SOCKET:-"/var/run/docker.sock"} TARGET_SOCKET="${TARGET_SOCKET:-"/var/run/docker.sock"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc" MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy" DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"
......
{ {
"id": "docker-in-docker", "id": "docker-in-docker",
"version": "1.0.8", "version": "1.0.9",
"name": "Docker (Docker-in-Docker)", "name": "Docker (Docker-in-Docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-in-docker", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/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.", "description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.",
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
DOCKER_VERSION=${VERSION:-"latest"} # The Docker/Moby Engine + CLI should match in version DOCKER_VERSION="${VERSION:-"latest"}" # The Docker/Moby Engine + CLI should match in version
USE_MOBY=${MOBY:-"true"} USE_MOBY="${MOBY:-"true"}"
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2 DOCKER_DASH_COMPOSE_VERSION="${DOCKERDASHCOMPOSEVERSION:-"v1"}" # v1 or v2
AZURE_DNS_AUTO_DETECTION=${AZUREDNSAUTODETECTION:-"true"} AZURE_DNS_AUTO_DETECTION="${AZUREDNSAUTODETECTION:-"true"}"
DOCKER_DEFAULT_ADDRESS_POOL=${DOCKERDEFAULTADDRESSPOOL} DOCKER_DEFAULT_ADDRESS_POOL="${DOCKERDEFAULTADDRESSPOOL}"
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"} ENABLE_NONROOT_DOCKER="${ENABLE_NONROOT_DOCKER:-"true"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc" MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy" DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"
......
{ {
"id": "dotnet", "id": "dotnet",
"version": "1.1.0", "version": "1.1.1",
"name": "Dotnet CLI", "name": "Dotnet CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
"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.", "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.",
......
...@@ -7,18 +7,18 @@ ...@@ -7,18 +7,18 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/dotnet.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/dotnet.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
DOTNET_VERSION=${VERSION:-"latest"} DOTNET_VERSION="${VERSION:-"latest"}"
DOTNET_RUNTIME_ONLY=${RUNTIMEONLY:-"false"} DOTNET_RUNTIME_ONLY="${RUNTIMEONLY:-"false"}"
OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"} OVERRIDE_DEFAULT_VERSION="${OVERRIDEDEFAULTVERSION:-"true"}"
INSTALL_USING_APT=${INSTALLUSINGAPT:-"true"} INSTALL_USING_APT="${INSTALLUSINGAPT:-"true"}"
DOTNET_LATEST="7" DOTNET_LATEST="7"
DOTNET_LTS="6" DOTNET_LTS="6"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
TARGET_DOTNET_ROOT=${TARGET_DOTNET_ROOT:-"/usr/local/dotnet"} TARGET_DOTNET_ROOT="${TARGET_DOTNET_ROOT:-"/usr/local/dotnet"}"
ACCESS_GROUP=${ACCESS_GROUP:-"dotnet"} ACCESS_GROUP="${ACCESS_GROUP:-"dotnet"}"
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc" MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
DOTNET_ARCHIVE_ARCHITECTURES="amd64" DOTNET_ARCHIVE_ARCHITECTURES="amd64"
......
{ {
"id": "go", "id": "go",
"version": "1.1.1", "version": "1.1.2",
"name": "Go", "name": "Go",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/go", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/go",
"description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.", "description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/go.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/go.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
TARGET_GO_VERSION=${VERSION:-"latest"} TARGET_GO_VERSION="${VERSION:-"latest"}"
GOLANGCILINT_VERSION=${GOLANGCILINTVERSION:-"latest"} GOLANGCILINT_VERSION="${GOLANGCILINTVERSION:-"latest"}"
TARGET_GOROOT=${TARGET_GOROOT:-"/usr/local/go"} TARGET_GOROOT="${TARGET_GOROOT:-"/usr/local/go"}"
TARGET_GOPATH=${TARGET_GOPATH:-"/go"} TARGET_GOPATH="${TARGET_GOPATH:-"/go"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
INSTALL_GO_TOOLS=${INSTALL_GO_TOOLS:-"true"} INSTALL_GO_TOOLS="${INSTALL_GO_TOOLS:-"true"}"
# https://www.google.com/linuxrepositories/ # https://www.google.com/linuxrepositories/
GO_GPG_KEY_URI="https://dl.google.com/linux/linux_signing_key.pub" GO_GPG_KEY_URI="https://dl.google.com/linux/linux_signing_key.pub"
......
{ {
"id": "hugo", "id": "hugo",
"version": "1.1.0", "version": "1.1.1",
"name": "Hugo", "name": "Hugo",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/hugo", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/hugo",
"options": { "options": {
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/hugo.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/hugo.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
VERSION=${VERSION:-"latest"} VERSION="${VERSION:-"latest"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
HUGO_DIR=${HUGO_DIR:-"/usr/local/hugo"} HUGO_DIR="${HUGO_DIR:-"/usr/local/hugo"}"
set -e set -e
......
{ {
"id": "java", "id": "java",
"version": "1.1.0", "version": "1.1.1",
"name": "Java (via SDKMAN!)", "name": "Java (via SDKMAN!)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/java", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/java",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
......
...@@ -9,20 +9,20 @@ ...@@ -9,20 +9,20 @@
# #
# Syntax: ./java-debian.sh [JDK version] [SDKMAN_DIR] [non-root user] [Add to rc files flag] # Syntax: ./java-debian.sh [JDK version] [SDKMAN_DIR] [non-root user] [Add to rc files flag]
JAVA_VERSION=${VERSION:-"lts"} JAVA_VERSION="${VERSION:-"lts"}"
INSTALL_GRADLE=${INSTALLGRADLE:-"false"} INSTALL_GRADLE="${INSTALLGRADLE:-"false"}"
GRADLE_VERSION=${GRADLEVERSION:-"latest"} GRADLE_VERSION="${GRADLEVERSION:-"latest"}"
INSTALL_MAVEN=${INSTALLMAVEN:-"false"} INSTALL_MAVEN="${INSTALLMAVEN:-"false"}"
MAVEN_VERSION=${MAVENVERSION:-"latest"} MAVEN_VERSION="${MAVENVERSION:-"latest"}"
JDK_DISTRO=${JDKDISTRO} JDK_DISTRO="${JDKDISTRO}"
export SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"} export SDKMAN_DIR="${SDKMAN_DIR:-"/usr/local/sdkman"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
# Comma-separated list of java versions to be installed # Comma-separated list of java versions to be installed
# alongside JAVA_VERSION, but not set as default. # alongside JAVA_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
set -e set -e
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
set -e set -e
JAVA_VERSION=${1:-"default"} JAVA_VERSION="${1:-"default"}"
SDKMAN_DIR=${2:-"/usr/local/sdkman"} SDKMAN_DIR="${2:-"/usr/local/sdkman"}"
USERNAME=${3:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${4:-"true"} UPDATE_RC="${4:-"true"}"
ADDITIONAL_JAVA_VERSION=11 ADDITIONAL_JAVA_VERSION="11"
cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
chmod +x install.sh chmod +x install.sh
......
{ {
"id": "kubectl-helm-minikube", "id": "kubectl-helm-minikube",
"version": "1.1.0", "version": "1.1.1",
"name": "Kubectl, Helm, and Minikube", "name": "Kubectl, Helm, and Minikube",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube",
"description": "Installs latest version of kubectl, Helm, and optionally minikube. Auto-detects latest versions and installs needed dependencies.", "description": "Installs latest version of kubectl, Helm, and optionally minikube. Auto-detects latest versions and installs needed dependencies.",
......
...@@ -19,7 +19,7 @@ MINIKUBE_VERSION="${MINIKUBE:-"none"}" # latest is also valid ...@@ -19,7 +19,7 @@ MINIKUBE_VERSION="${MINIKUBE:-"none"}" # latest is also valid
KUBECTL_SHA256="${KUBECTL_SHA256:-"automatic"}" KUBECTL_SHA256="${KUBECTL_SHA256:-"automatic"}"
HELM_SHA256="${HELM_SHA256:-"automatic"}" HELM_SHA256="${HELM_SHA256:-"automatic"}"
MINIKUBE_SHA256="${MINIKUBE_SHA256:-"automatic"}" MINIKUBE_SHA256="${MINIKUBE_SHA256:-"automatic"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
HELM_GPG_KEYS_URI="https://raw.githubusercontent.com/helm/helm/main/KEYS" HELM_GPG_KEYS_URI="https://raw.githubusercontent.com/helm/helm/main/KEYS"
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com:80 GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com:80
......
{ {
"id": "node", "id": "node",
"version": "1.1.2", "version": "1.1.3",
"name": "Node.js (via nvm) and yarn", "name": "Node.js (via nvm) and yarn",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/node", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
"description": "Installs Node.js, nvm, yarn, and needed dependencies.", "description": "Installs Node.js, nvm, yarn, and needed dependencies.",
......
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
# Docs: https://github.com/devcontainers/features/tree/main/src/node # Docs: https://github.com/devcontainers/features/tree/main/src/node
# Maintainer: The Dev Container spec maintainers # Maintainer: The Dev Container spec maintainers
export NODE_VERSION=${VERSION:-"lts"} export NODE_VERSION="${VERSION:-"lts"}"
export NVM_VERSION="${NVMVERSION:-"0.39.2"}" export NVM_VERSION="${NVMVERSION:-"0.39.2"}"
export NVM_DIR=${NVMINSTALLPATH:-"/usr/local/share/nvm"} export NVM_DIR=${NVMINSTALLPATH:-"/usr/local/share/nvm"}
INSTALL_TOOLS_FOR_NODE_GYP="${NODEGYPDEPENDENCIES:-true}" INSTALL_TOOLS_FOR_NODE_GYP="${NODEGYPDEPENDENCIES:-true}"
# Comma-separated list of node versions to be installed (with nvm) # Comma-separated list of node versions to be installed (with nvm)
# alongside NODE_VERSION, but not set as default. # alongside NODE_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
set -e set -e
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
#------------------------------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------------------
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc" MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
......
{ {
"id": "php", "id": "php",
"version": "1.0.8", "version": "1.0.9",
"name": "PHP", "name": "PHP",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/php", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/php",
"options": { "options": {
......
...@@ -11,17 +11,17 @@ set -eux ...@@ -11,17 +11,17 @@ set -eux
# Clean up # Clean up
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
VERSION=${VERSION:-"latest"} VERSION="${VERSION:-"latest"}"
INSTALL_COMPOSER=${INSTALLCOMPOSER:-"true"} INSTALL_COMPOSER="${INSTALLCOMPOSER:-"true"}"
OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"} OVERRIDE_DEFAULT_VERSION="${OVERRIDEDEFAULTVERSION:-"true"}"
export PHP_DIR=${PHP_DIR:-"/usr/local/php"} export PHP_DIR="${PHP_DIR:-"/usr/local/php"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
# Comma-separated list of php versions to be installed # Comma-separated list of php versions to be installed
# alongside VERSION, but not set as default. # alongside VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
......
{ {
"id": "python", "id": "python",
"version": "1.0.16", "version": "1.0.17",
"name": "Python", "name": "Python",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/python", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/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.", "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.",
......
...@@ -7,24 +7,24 @@ ...@@ -7,24 +7,24 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/python.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/python.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
PYTHON_VERSION=${VERSION:-"latest"} # 'system' checks the base image first, else installs 'latest' PYTHON_VERSION="${VERSION:-"latest"}" # 'system' or 'os-provided' checks the base image first, else installs 'latest'
INSTALL_PYTHON_TOOLS=${INSTALLTOOLS:-"true"} INSTALL_PYTHON_TOOLS="${INSTALLTOOLS:-"true"}"
OPTIMIZE_BUILD_FROM_SOURCE=${OPTIMIZE:-"false"} OPTIMIZE_BUILD_FROM_SOURCE="${OPTIMIZE:-"false"}"
PYTHON_INSTALL_PATH=${INSTALLPATH:-"/usr/local/python"} PYTHON_INSTALL_PATH="${INSTALLPATH:-"/usr/local/python"}"
OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"} OVERRIDE_DEFAULT_VERSION="${OVERRIDEDEFAULTVERSION:-"true"}"
export PIPX_HOME=${PIPX_HOME:-"/usr/local/py-utils"} export PIPX_HOME=${PIPX_HOME:-"/usr/local/py-utils"}
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
USE_ORYX_IF_AVAILABLE=${USEORYXIFAVAILABLE:-"true"} USE_ORYX_IF_AVAILABLE="${USEORYXIFAVAILABLE:-"true"}"
INSTALL_JUPYTERLAB=${INSTALLJUPYTERLAB:-"false"} INSTALL_JUPYTERLAB="${INSTALLJUPYTERLAB:-"false"}"
CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN=${CONFIGUREJUPYTERLABALLOWORIGIN:-""} CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN="${CONFIGUREJUPYTERLABALLOWORIGIN:-""}"
# Comma-separated list of python versions to be installed # Comma-separated list of python versions to be installed
# alongside PYTHON_VERSION, but not set as default. # alongside PYTHON_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
DEFAULT_UTILS=("pylint" "flake8" "autopep8" "black" "yapf" "mypy" "pydocstyle" "pycodestyle" "bandit" "pipenv" "virtualenv") 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" PYTHON_SOURCE_GPG_KEYS="64E628F8D684696D B26995E310250568 2D347EA6AA65421D FB9921286F5E1540 3A5CA953F73C700D 04C367C218ADD4FF 0EDDC5F26A45C816 6AF053F07D9DC8D2 C9BE28DEE6DF025C 126EB563A74B06BF D9866941EA5BBD71 ED9D77D5"
......
{ {
"id": "ruby", "id": "ruby",
"version": "1.0.6", "version": "1.0.7",
"name": "Ruby (via rvm)", "name": "Ruby (via rvm)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.", "description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
......
...@@ -7,15 +7,15 @@ ...@@ -7,15 +7,15 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/ruby.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/ruby.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
RUBY_VERSION=${VERSION:-"latest"} RUBY_VERSION="${VERSION:-"latest"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
INSTALL_RUBY_TOOLS=${INSTALL_RUBY_TOOLS:-"true"} INSTALL_RUBY_TOOLS="${INSTALL_RUBY_TOOLS:-"true"}"
# Comma-separated list of ruby versions to be installed (with rvm) # Comma-separated list of ruby versions to be installed (with rvm)
# alongside RUBY_VERSION, but not set as default. # alongside RUBY_VERSION, but not set as default.
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
# Note: ruby-debug-ide will install the right version of debase if missing and # 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. # installing debase directly fails on Ruby 3.1.0 as of 1/7/2022, so omitting.
......
{ {
"id": "rust", "id": "rust",
"version": "1.0.8", "version": "1.0.9",
"name": "Rust", "name": "Rust",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust",
"description": "Installs Rust, common Rust utilities, and their required dependencies", "description": "Installs Rust, common Rust utilities, and their required dependencies",
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/rust.md # Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/rust.md
# Maintainer: The VS Code and Codespaces Teams # Maintainer: The VS Code and Codespaces Teams
RUST_VERSION=${VERSION:-"latest"} RUST_VERSION="${VERSION:-"latest"}"
RUSTUP_PROFILE=${PROFILE:-"minimal"} RUSTUP_PROFILE="${PROFILE:-"minimal"}"
export CARGO_HOME=${CARGO_HOME:-"/usr/local/cargo"} export CARGO_HOME="${CARGO_HOME:-"/usr/local/cargo"}"
export RUSTUP_HOME=${RUSTUP_HOME:-"/usr/local/rustup"} export RUSTUP_HOME="${RUSTUP_HOME:-"/usr/local/rustup"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"} UPDATE_RC="${UPDATE_RC:-"true"}"
UPDATE_RUST=${UPDATE_RUST:-"false"} UPDATE_RUST="${UPDATE_RUST:-"false"}"
set -e set -e
......
{ {
"id": "sshd", "id": "sshd",
"version": "1.0.5", "version": "1.0.6",
"name": "SSH server", "name": "SSH server",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/sshd", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/sshd",
"description": "Adds a SSH server into a container so that you can use an external terminal, sftp, or SSHFS to interact with it.", "description": "Adds a SSH server into a container so that you can use an external terminal, sftp, or SSHFS to interact with it.",
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
# #
# Note: You can change your user's password with "sudo passwd $(whoami)" (or just "passwd" if running as root). # Note: You can change your user's password with "sudo passwd $(whoami)" (or just "passwd" if running as root).
SSHD_PORT=${SSHD_PORT:-"2222"} SSHD_PORT="${SSHD_PORT:-"2222"}"
USERNAME=${USERNAME:-"automatic"} USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
START_SSHD=${START_SSHD:-"false"} START_SSHD="${START_SSHD:-"false"}"
NEW_PASSWORD=${NEW_PASSWORD:-"skip"} NEW_PASSWORD="${NEW_PASSWORD:-"skip"}"
FIX_ENVIRONMENT=${FIX_ENVIRONMENT:-"true"} FIX_ENVIRONMENT="${FIX_ENVIRONMENT:-"true"}"
set -e set -e
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"image": "ubuntu:focal", "image": "ubuntu:focal",
"features": { "features": {
"java": { "java": {
"version": "11", "version": "19",
"jdkDistro": "open" "jdkDistro": "open"
} }
} }
......
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