Skip to content

Commit

Permalink
slim down container
Browse files Browse the repository at this point in the history
  • Loading branch information
steinsiv authored Nov 30, 2023
1 parent 500a2e3 commit bbd2a7a
Showing 1 changed file with 44 additions and 19 deletions.
63 changes: 44 additions & 19 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,69 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "vscode",
"userUid": "1000",
"userGid": "1000"
},
//"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/devcontainers-contrib/features/snyk-cli:1": {},
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
"ghcr.io/devcontainers/features/dotnet:1": {
"version": "8.0",
"installUsingApt": "false",
},
"ghcr.io/devcontainers/features/node:1": {
"version": "18"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.10.13",
"installJupyterlab": "false",
"useOryxIfAvailable": "false"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/dotnet:2.0.1": {
"version": "8.0",
"installUsingApt": "false"
},
},
"overrideFeatureInstallOrder": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/dotnet",
"ghcr.io/devcontainers/features/node",
"ghcr.io/devcontainers/features/python",
"ghcr.io/devcontainers/features/github-cli",
],
"customizations": {
"vscode": {
"extensions": [
"ms-vscode-remote.remote-containers",
"GitHub.codespaces",
"mhutchie.git-graph",
"humao.rest-client",
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"GitHub.codespaces",
"mhutchie.git-graph",
"humao.rest-client",
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"ms-azuretools.vscode-docker",
"charliermarsh.ruff",
"ms-dotnettools.csharp",
"ritwickdey.liveserver"
],
],
"settings": {
"gitlens.showWelcomeOnInstall" :false,
"gitlens.showWelcomeOnInstall": false,
"terminal.integrated.gpuAcceleration": "canvas",
"liveServer.settings.root": "/doc",
"liveServer.settings.root": "/doc",
"liveServer.settings.donotShowInfoMsg": true,
"terminal.integrated.shell.linux": "/usr/bin/zsh",
"terminal.integrated.defaultProfile.linux": "zsh"
}
},
"codespaces": {
"openFiles": [""]
"openFiles": [
"README.md"
]
}
},
"updateContentCommand": {
"trufflehog" : "curl -L https://github.com/trufflesecurity/trufflehog/releases/download/v3.62.1/trufflehog_3.62.1_linux_amd64.tar.gz| tar -xz -C /tmp/ && sudo mv /tmp/trufflehog /usr/local/bin/"
"trufflehog": "curl -L https://github.com/trufflesecurity/trufflehog/releases/download/v3.62.1/trufflehog_3.62.1_linux_amd64.tar.gz| tar -xz -C /tmp/ && sudo mv /tmp/trufflehog /usr/local/bin/"
},
"postCreateCommand": {
"sed": "sed -i 's/ZSH_THEME=\\\"devcontainers\\\"/ZSH_THEME=\\\"avit\\\"/g' ~/.zshrc",
Expand All @@ -50,4 +75,4 @@
"PIPELINE": "development",
"PYTHONDONTWRITEBYTECODE": "1"
}
}
}

0 comments on commit bbd2a7a

Please sign in to comment.