add options
This commit is contained in:
parent
960f21c2c5
commit
6a907ffdbd
5 changed files with 36 additions and 4 deletions
BIN
devcontainers-cli-0.16.0.tgz
Normal file
BIN
devcontainers-cli-0.16.0.tgz
Normal file
Binary file not shown.
|
@ -28,6 +28,22 @@
|
||||||
],
|
],
|
||||||
"default": "v1",
|
"default": "v1",
|
||||||
"description": "Compose version to use for docker-compose (v1 or v2)"
|
"description": "Compose version to use for docker-compose (v1 or v2)"
|
||||||
|
},
|
||||||
|
"enableNonRootDocker": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Enable non-root Docker access in container"
|
||||||
|
},
|
||||||
|
"username": {
|
||||||
|
"type": "string",
|
||||||
|
"proposals": [
|
||||||
|
"vscode",
|
||||||
|
"codespace",
|
||||||
|
"none",
|
||||||
|
"automatic"
|
||||||
|
],
|
||||||
|
"default": "automatic",
|
||||||
|
"description": "Enter name of non-root user to configure or none to skip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entrypoint": "/usr/local/share/docker-init.sh",
|
"entrypoint": "/usr/local/share/docker-init.sh",
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
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
|
||||||
|
USERNAME=${USERNAME}
|
||||||
|
|
||||||
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"}
|
ENABLE_NONROOT_DOCKER=${ENABLENONROOTDOCKER}
|
||||||
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"}
|
|
||||||
|
|
||||||
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"
|
||||||
|
|
|
@ -28,6 +28,22 @@
|
||||||
],
|
],
|
||||||
"default": "v1",
|
"default": "v1",
|
||||||
"description": "Default version of Docker Compose (v1 or v2)"
|
"description": "Default version of Docker Compose (v1 or v2)"
|
||||||
|
},
|
||||||
|
"enableNonRootDocker": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Enable non-root Docker access in container"
|
||||||
|
},
|
||||||
|
"username": {
|
||||||
|
"type": "string",
|
||||||
|
"proposals": [
|
||||||
|
"vscode",
|
||||||
|
"codespace",
|
||||||
|
"none",
|
||||||
|
"automatic"
|
||||||
|
],
|
||||||
|
"default": "automatic",
|
||||||
|
"description": "Enter name of non-root user to configure or none to skip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entrypoint": "/usr/local/share/docker-init.sh",
|
"entrypoint": "/usr/local/share/docker-init.sh",
|
||||||
|
|
|
@ -12,8 +12,8 @@ DOCKER_VERSION=${VERSION:-"latest"} # The Docker/Moby Engine + CLI should match
|
||||||
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=${ENABLENONROOTDOCKER}
|
||||||
USERNAME=${USERNAME:-"automatic"}
|
USERNAME=${USERNAME}
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue