mirror of
https://github.com/zoriya/flood.git
synced 2026-05-30 10:08:36 +00:00
.devcontainer: be explicit about HOME directory
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
"context": "..",
|
||||
"dockerFile": "./Dockerfile",
|
||||
"runArgs": ["--init"],
|
||||
"initializeCommand": "umask 077 && mkdir -p ~/.docker ~/.gnupg ~/.ssh && umask 177 && touch ~/.git-credentials ~/.npmrc ~/.zsh_history",
|
||||
"initializeCommand": "umask 077 && mkdir -p ${localEnv:HOME}/.docker ${localEnv:HOME}/.gnupg ${localEnv:HOME}/.ssh && umask 177 && touch ${localEnv:HOME}/.git-credentials ${localEnv:HOME}/.npmrc ${localEnv:HOME}/.zsh_history",
|
||||
"postCreateCommand": "npm install && bash /usr/local/share/docker-init.sh",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin"
|
||||
},
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/zsh"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user