Features: Set USERNAME to _REMOTE_USER if available
This commit is contained in:
parent
188f1ef26b
commit
c8383b60e0
34 changed files with 34 additions and 34 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "anaconda",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"name": "Anaconda",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/anaconda",
|
||||
"options": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
|
||||
VERSION=${VERSION:-"latest"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "common-utils",
|
||||
"version": "1.1.4",
|
||||
"version": "1.1.5",
|
||||
"name": "Common Debian Utilities",
|
||||
"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.",
|
||||
|
|
|
@ -15,7 +15,7 @@ rm -rf /var/lib/apt/lists/*
|
|||
INSTALL_ZSH=${INSTALLZSH:-"true"}
|
||||
INSTALL_OH_MY_ZSH=${INSTALLOHMYZSH:-"true"}
|
||||
UPGRADE_PACKAGES=${UPGRADEPACKAGES:-"true"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
USER_UID=${UID:-"automatic"}
|
||||
USER_GID=${GID:-"automatic"}
|
||||
ADD_NON_FREE_PACKAGES=${NONFREEPACKAGES:-"false"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "desktop-lite",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"name": "Light-weight Desktop",
|
||||
"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.",
|
||||
|
|
|
@ -13,7 +13,7 @@ NOVNC_PORT="${WEBPORT:-6080}"
|
|||
VNC_PORT="${VNCPORT:-5901}"
|
||||
|
||||
INSTALL_NOVNC=${INSTALL_NOVNC:-"true"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
|
||||
|
||||
WEBSOCKETIFY_VERSION=0.10.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "docker-from-docker",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"name": "Docker (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.",
|
||||
|
|
|
@ -14,7 +14,7 @@ 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"}
|
||||
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"
|
||||
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "docker-in-docker",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"name": "Docker (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.",
|
||||
|
|
|
@ -15,7 +15,7 @@ AZURE_DNS_AUTO_DETECTION=${AZUREDNSAUTODETECTION:-"true"}
|
|||
DOCKER_DEFAULT_ADDRESS_POOL=${DOCKERDEFAULTADDRESSPOOL}
|
||||
|
||||
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"
|
||||
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "dotnet",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"name": "Dotnet CLI",
|
||||
"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.",
|
||||
|
|
|
@ -15,7 +15,7 @@ INSTALL_USING_APT=${INSTALLUSINGAPT:-"true"}
|
|||
DOTNET_LATEST="7"
|
||||
DOTNET_LTS="6"
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
TARGET_DOTNET_ROOT=${TARGET_DOTNET_ROOT:-"/usr/local/dotnet"}
|
||||
ACCESS_GROUP=${ACCESS_GROUP:-"dotnet"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "go",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"name": "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.",
|
||||
|
|
|
@ -12,7 +12,7 @@ GOLANGCILINT_VERSION=${GOLANGCILINTVERSION:-"latest"}
|
|||
|
||||
TARGET_GOROOT=${TARGET_GOROOT:-"/usr/local/go"}
|
||||
TARGET_GOPATH=${TARGET_GOPATH:-"/go"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
INSTALL_GO_TOOLS=${INSTALL_GO_TOOLS:-"true"}
|
||||
|
||||
# https://www.google.com/linuxrepositories/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "hugo",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"name": "Hugo",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/hugo",
|
||||
"options": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
VERSION=${VERSION:-"latest"}
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
|
||||
HUGO_DIR=${HUGO_DIR:-"/usr/local/hugo"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "java",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"name": "Java (via SDKMAN!)",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/java",
|
||||
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
|
||||
|
|
|
@ -17,7 +17,7 @@ MAVEN_VERSION=${MAVENVERSION:-"latest"}
|
|||
JDK_DISTRO=${JDKDISTRO}
|
||||
|
||||
export SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
|
||||
# Comma-separated list of java versions to be installed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "kubectl-helm-minikube",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"name": "Kubectl, Helm, and 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.",
|
||||
|
|
|
@ -19,7 +19,7 @@ MINIKUBE_VERSION="${MINIKUBE:-"none"}" # latest is also valid
|
|||
KUBECTL_SHA256="${KUBECTL_SHA256:-"automatic"}"
|
||||
HELM_SHA256="${HELM_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"
|
||||
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com:80
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "node",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"name": "Node.js (via nvm) and yarn",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
|
||||
"description": "Installs Node.js, nvm, yarn, and needed dependencies.",
|
||||
|
|
|
@ -16,7 +16,7 @@ INSTALL_TOOLS_FOR_NODE_GYP="${NODEGYPDEPENDENCIES:-true}"
|
|||
# alongside NODE_VERSION, but not set as default.
|
||||
ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""}
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
|
||||
set -e
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "oryx",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"name": "Oryx",
|
||||
"description": "Installs the oryx CLI",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/oryx",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
|
||||
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "php",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"name": "PHP",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/php",
|
||||
"options": {
|
||||
|
|
|
@ -16,7 +16,7 @@ INSTALL_COMPOSER=${INSTALLCOMPOSER:-"true"}
|
|||
OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
|
||||
|
||||
export PHP_DIR=${PHP_DIR:-"/usr/local/php"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
|
||||
# Comma-separated list of php versions to be installed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "python",
|
||||
"version": "1.0.15",
|
||||
"version": "1.0.16",
|
||||
"name": "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.",
|
||||
|
|
|
@ -15,7 +15,7 @@ OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
|
|||
|
||||
export PIPX_HOME=${PIPX_HOME:-"/usr/local/py-utils"}
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
USE_ORYX_IF_AVAILABLE=${USEORYXIFAVAILABLE:-"true"}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "ruby",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"name": "Ruby (via rvm)",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
|
||||
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
RUBY_VERSION=${VERSION:-"latest"}
|
||||
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
INSTALL_RUBY_TOOLS=${INSTALL_RUBY_TOOLS:-"true"}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "rust",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"name": "Rust",
|
||||
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust",
|
||||
"description": "Installs Rust, common Rust utilities, and their required dependencies",
|
||||
|
|
|
@ -12,7 +12,7 @@ RUSTUP_PROFILE=${PROFILE:-"minimal"}
|
|||
|
||||
export CARGO_HOME=${CARGO_HOME:-"/usr/local/cargo"}
|
||||
export RUSTUP_HOME=${RUSTUP_HOME:-"/usr/local/rustup"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
UPDATE_RC=${UPDATE_RC:-"true"}
|
||||
UPDATE_RUST=${UPDATE_RUST:-"false"}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "sshd",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"name": "SSH server",
|
||||
"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.",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# Note: You can change your user's password with "sudo passwd $(whoami)" (or just "passwd" if running as root).
|
||||
|
||||
SSHD_PORT=${SSHD_PORT:-"2222"}
|
||||
USERNAME=${USERNAME:-"automatic"}
|
||||
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
|
||||
START_SSHD=${START_SSHD:-"false"}
|
||||
NEW_PASSWORD=${NEW_PASSWORD:-"skip"}
|
||||
FIX_ENVIRONMENT=${FIX_ENVIRONMENT:-"true"}
|
||||
|
|
Loading…
Reference in a new issue