aboutsummaryrefslogtreecommitdiff
path: root/src/common-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-utils')
-rw-r--r--src/common-utils/devcontainer-feature.json14
-rwxr-xr-xsrc/common-utils/install.sh12
2 files changed, 13 insertions, 13 deletions
diff --git a/src/common-utils/devcontainer-feature.json b/src/common-utils/devcontainer-feature.json
index 2a50daa..bd9ea94 100644
--- a/src/common-utils/devcontainer-feature.json
+++ b/src/common-utils/devcontainer-feature.json
@@ -1,20 +1,20 @@
{
"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?"
diff --git a/src/common-utils/install.sh b/src/common-utils/install.sh
index 7edbe53..c6d9cf8 100755
--- a/src/common-utils/install.sh
+++ b/src/common-utils/install.sh
@@ -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"