mirror of
https://github.com/zoriya/flood.git
synced 2026-06-07 20:30:42 +00:00
.devcontainer: be explicit about HOME directory
This commit is contained in:
@@ -3,8 +3,11 @@
|
|||||||
"context": "..",
|
"context": "..",
|
||||||
"dockerFile": "./Dockerfile",
|
"dockerFile": "./Dockerfile",
|
||||||
"runArgs": ["--init"],
|
"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",
|
"postCreateCommand": "npm install && bash /usr/local/share/docker-init.sh",
|
||||||
|
"remoteEnv": {
|
||||||
|
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin"
|
||||||
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"terminal.integrated.shell.linux": "/bin/zsh"
|
"terminal.integrated.shell.linux": "/bin/zsh"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user