Move extensions and settings under customizations.vscode (#97)

* move extensions and settings under customizations

* nit

* bump versions
This commit is contained in:
Samruddhi Khandale 2022-08-17 12:48:38 -07:00 committed by GitHub
parent 4ecc275a8d
commit a630e92c46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 161 additions and 98 deletions

View file

@ -1,6 +1,9 @@
name: "(Release) Release dev container features (v2)" name: "(Release) Release dev container features (v2)"
on: on:
workflow_dispatch: workflow_dispatch:
push:
branches:
- main
jobs: jobs:
deploy: deploy:

View file

@ -1,6 +1,6 @@
{ {
"id": "aws-cli", "id": "aws-cli",
"version": "1.0.0", "version": "1.0.1",
"name": "AWS CLI", "name": "AWS CLI",
"description": "Installs the AWS CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.", "description": "Installs the AWS CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",
"options": { "options": {
@ -13,7 +13,11 @@
"description": "Select or enter an AWS CLI version. (Available versions here: https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst)" "description": "Select or enter an AWS CLI version. (Available versions here: https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst)"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"AmazonWebServices.aws-toolkit-vscode" "AmazonWebServices.aws-toolkit-vscode"
] ]
} }
}
}

View file

@ -1,6 +1,6 @@
{ {
"id": "azure-cli", "id": "azure-cli",
"version": "1.0.0", "version": "1.0.1",
"name": "Azure CLI", "name": "Azure CLI",
"description": "Installs the Azure CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.", "description": "Installs the Azure CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",
"options": { "options": {
@ -13,7 +13,11 @@
"description": "Select or enter an Azure CLI version. (Available versions may vary by Linux distribution.)" "description": "Select or enter an Azure CLI version. (Available versions may vary by Linux distribution.)"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-vscode.azurecli" "ms-vscode.azurecli"
] ]
} }
}
}

View file

@ -1,7 +1,7 @@
{ {
"id": "common-utils", "id": "common-utils",
"name": "Common Debian Utilities", "name": "Common Debian Utilities",
"version": "1.0.1", "version": "1.0.2",
"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.",
"options": { "options": {
"installZsh": { "installZsh": {
@ -54,7 +54,11 @@
"description": "Add packages from non-free Debian repository?" "description": "Add packages from non-free Debian repository?"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-dotnettools.csharp" "ms-dotnettools.csharp"
] ]
} }
}
}

View file

@ -1,6 +1,6 @@
{ {
"id": "docker-from-docker", "id": "docker-from-docker",
"version": "1.0.1", "version": "1.0.2",
"name": "Docker (Docker-from-Docker)", "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.", "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": { "options": {
@ -33,9 +33,13 @@
"containerEnv": { "containerEnv": {
"DOCKER_BUILDKIT": "1" "DOCKER_BUILDKIT": "1"
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
], ]
}
},
"mounts": [ "mounts": [
{ {
"source": "/var/run/docker.sock", "source": "/var/run/docker.sock",

View file

@ -1,6 +1,6 @@
{ {
"id": "docker-in-docker", "id": "docker-in-docker",
"version": "1.0.1", "version": "1.0.2",
"name": "Docker (Docker-in-Docker)", "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.", "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": { "options": {
@ -34,9 +34,13 @@
"containerEnv": { "containerEnv": {
"DOCKER_BUILDKIT": "1" "DOCKER_BUILDKIT": "1"
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
], ]
}
},
"mounts": [ "mounts": [
{ {
"source": "dind-var-lib-docker", "source": "dind-var-lib-docker",

View file

@ -1,6 +1,6 @@
{ {
"id": "dotnet", "id": "dotnet",
"version": "1.0.1", "version": "1.0.2",
"name": "Dotnet CLI", "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.", "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": { "options": {
@ -30,7 +30,11 @@
"DOTNET_ROOT": "/usr/local/dotnet/current", "DOTNET_ROOT": "/usr/local/dotnet/current",
"PATH": "${PATH}:${DOTNET_ROOT}" "PATH": "${PATH}:${DOTNET_ROOT}"
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-dotnettools.csharp" "ms-dotnettools.csharp"
] ]
} }
}
}

View file

@ -1,6 +1,6 @@
{ {
"id": "go", "id": "go",
"version": "1.0.0", "version": "1.0.1",
"name": "Go", "name": "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.",
"options": { "options": {
@ -17,9 +17,13 @@
} }
}, },
"init": true, "init": true,
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"golang.Go" "golang.Go"
], ]
}
},
"containerEnv": { "containerEnv": {
"GOPATH": "/usr/local/go", "GOPATH": "/usr/local/go",
"PATH": "${GOPATH}/bin:${PATH}" "PATH": "${GOPATH}/bin:${PATH}"

View file

@ -1,6 +1,6 @@
{ {
"id": "java", "id": "java",
"version": "1.0.2", "version": "1.0.3",
"name": "Java (via SDKMAN!)", "name": "Java (via SDKMAN!)",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
"options": { "options": {
@ -28,16 +28,20 @@
} }
}, },
"buildArg": "_VSC_INSTALL_JAVA", "buildArg": "_VSC_INSTALL_JAVA",
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"vscjava.vscode-java-pack" "vscjava.vscode-java-pack"
], ],
"settings": {
"java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current"
}
}
},
"containerEnv": { "containerEnv": {
"SDKMAN_DIR": "/usr/local/sdkman", "SDKMAN_DIR": "/usr/local/sdkman",
"GRADLE_USER_HOME": "${HOME}/.gradle", "GRADLE_USER_HOME": "${HOME}/.gradle",
"M2": "${HOME}/.m2", "M2": "${HOME}/.m2",
"PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/java/current/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/maven/current/bin:${PATH}" "PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/java/current/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/maven/current/bin:${PATH}"
},
"settings": {
"java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"id": "kubectl-helm-minikube", "id": "kubectl-helm-minikube",
"version": "1.0.0", "version": "1.0.1",
"name": "Kubectl, Helm, and Minkube", "name": "Kubectl, Helm, and Minkube",
"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.",
"options": { "options": {
@ -33,9 +33,13 @@
"description": "Select or enter a Minikube version to install" "description": "Select or enter a Minikube version to install"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-kubernetes-tools.vscode-kubernetes-tools" "ms-kubernetes-tools.vscode-kubernetes-tools"
], ]
}
},
"mounts": [ "mounts": [
{ {
"source": "minikube-config", "source": "minikube-config",

View file

@ -1,6 +1,6 @@
{ {
"id": "node", "id": "node",
"version": "1.0.1", "version": "1.0.2",
"name": "Node.js (via nvm) and yarn", "name": "Node.js (via nvm) and yarn",
"description": "Installs Node.js, nvm, yarn, and needed dependencies.", "description": "Installs Node.js, nvm, yarn, and needed dependencies.",
"options": { "options": {
@ -28,9 +28,13 @@
"description": "The path where NVM will be installed." "description": "The path where NVM will be installed."
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
], ]
}
},
"containerEnv": { "containerEnv": {
"NVM_DIR": "/usr/local/share/nvm", "NVM_DIR": "/usr/local/share/nvm",
"NVM_SYMLINK_CURRENT": "true", "NVM_SYMLINK_CURRENT": "true",

View file

@ -1,6 +1,6 @@
{ {
"id": "php", "id": "php",
"version": "1.0.1", "version": "1.0.2",
"name": "PHP", "name": "PHP",
"options": { "options": {
"version": { "version": {
@ -18,12 +18,16 @@
"description": "Install PHP Composer?" "description": "Install PHP Composer?"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"xdebug.php-debug", "xdebug.php-debug",
"bmewburn.vscode-intelephense-client", "bmewburn.vscode-intelephense-client",
"xdebug.php-pack", "xdebug.php-pack",
"devsense.phptools-vscode" "devsense.phptools-vscode"
], ]
}
},
"containerEnv": { "containerEnv": {
"PHP_PATH": "/usr/local/php/current", "PHP_PATH": "/usr/local/php/current",
"PATH": "${PHP_PATH}/bin:${PATH}" "PATH": "${PHP_PATH}/bin:${PATH}"

View file

@ -1,6 +1,6 @@
{ {
"id": "python", "id": "python",
"version": "1.0.1", "version": "1.0.2",
"name": "Python", "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.", "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": { "options": {
@ -51,6 +51,8 @@
"PIPX_BIN_DIR": "/usr/local/py-utils/bin", "PIPX_BIN_DIR": "/usr/local/py-utils/bin",
"PATH": "${PYTHON_PATH}/bin:${PATH}:${PIPX_BIN_DIR}" "PATH": "${PYTHON_PATH}/bin:${PATH}:${PIPX_BIN_DIR}"
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"ms-python.vscode-pylance" "ms-python.vscode-pylance"
@ -68,3 +70,5 @@
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
} }
} }
}
}

View file

@ -1,6 +1,6 @@
{ {
"id": "ruby", "id": "ruby",
"version": "1.0.0", "version": "1.0.1",
"name": "Ruby (via rvm)", "name": "Ruby (via rvm)",
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.", "description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
"options": { "options": {
@ -17,9 +17,13 @@
"description": "Select or enter a Ruby version to install" "description": "Select or enter a Ruby version to install"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"rebornix.Ruby" "rebornix.Ruby"
], ]
}
},
"containerEnv": { "containerEnv": {
"GEM_PATH": "/usr/local/rvm/gems/default:/usr/local/rvm/gems/default@global", "GEM_PATH": "/usr/local/rvm/gems/default:/usr/local/rvm/gems/default@global",
"GEM_HOME": "/usr/local/rvm/gems/default", "GEM_HOME": "/usr/local/rvm/gems/default",

View file

@ -1,6 +1,6 @@
{ {
"id": "rust", "id": "rust",
"version": "1.0.1", "version": "1.0.2",
"name": "Rust", "name": "Rust",
"description": "Installs Rust, common Rust utilities, and their required dependencies", "description": "Installs Rust, common Rust utilities, and their required dependencies",
"options": { "options": {
@ -27,6 +27,8 @@
"description": "Select a rustup install profile." "description": "Select a rustup install profile."
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"vadimcn.vscode-lldb", "vadimcn.vscode-lldb",
"mutantdino.resourcemonitor", "mutantdino.resourcemonitor",
@ -34,6 +36,15 @@
"tamasfe.even-better-toml", "tamasfe.even-better-toml",
"serayuzgur.crates" "serayuzgur.crates"
], ],
"settings": {
"lldb.executable": "/usr/bin/lldb",
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
}
}
},
"containerEnv": { "containerEnv": {
"CARGO_HOME": "/usr/local/cargo", "CARGO_HOME": "/usr/local/cargo",
"RUSTUP_HOME": "/usr/local/rustup", "RUSTUP_HOME": "/usr/local/rustup",
@ -44,12 +55,5 @@
], ],
"securityOpt": [ "securityOpt": [
"seccomp=unconfined" "seccomp=unconfined"
], ]
"settings": {
"lldb.executable": "/usr/bin/lldb",
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
}
} }

View file

@ -1,6 +1,6 @@
{ {
"id": "terraform", "id": "terraform",
"version": "1.0.0", "version": "1.0.1",
"name": "Terraform, tflint, and TFGrunt", "name": "Terraform, tflint, and TFGrunt",
"description": "Installs the Terraform CLI and optionally TFLint and Terragrunt. Auto-detects latest version and installs needed dependencies.", "description": "Installs the Terraform CLI and optionally TFLint and Terragrunt. Auto-detects latest version and installs needed dependencies.",
"options": { "options": {
@ -33,6 +33,8 @@
"description": "Terragrunt version" "description": "Terragrunt version"
} }
}, },
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"HashiCorp.terraform", "HashiCorp.terraform",
"ms-azuretools.vscode-azureterraform" "ms-azuretools.vscode-azureterraform"
@ -45,3 +47,5 @@
"azureTerraform.terminal": "integrated" "azureTerraform.terminal": "integrated"
} }
} }
}
}