Improve devcontainer Dockerfile following best practices
- Use apt-get instead of apt for better script compatibility - Add --no-install-recommends to reduce image size - Add cleanup to remove apt cache - Parameterize external tool versions with build args
This commit is contained in:
parent
54a4ed0f5e
commit
f91aed5440
2 changed files with 13 additions and 7 deletions
|
|
@ -3,7 +3,9 @@
|
|||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": {
|
||||
"TZ": "${localEnv:TZ:America/Los_Angeles}"
|
||||
"TZ": "${localEnv:TZ:America/Los_Angeles}",
|
||||
"GIT_DELTA_VERSION": "0.18.2",
|
||||
"ZSH_IN_DOCKER_VERSION": "1.2.0"
|
||||
}
|
||||
},
|
||||
"runArgs": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue