mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
.devcontainer: fix up CODESPACES conditional
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"context": "..",
|
||||
"dockerFile": "./Dockerfile",
|
||||
"runArgs": ["--init"],
|
||||
"initializeCommand": "if [ '$CODESPACES' != 'true' ]; then umask 077 && mkdir -p ~/.docker ~/.gnupg ~/.ssh && umask 177 && touch ~/.git-credentials ~/.npmrc ~/.zsh_history; fi",
|
||||
"initializeCommand": "if [ \"${CODESPACES}\" != \"true\" ]; then umask 077 && mkdir -p ~/.docker ~/.gnupg ~/.ssh && umask 177 && touch ~/.git-credentials ~/.npmrc ~/.zsh_history; fi",
|
||||
"postCreateCommand": "npm install && bash /usr/local/share/docker-init.sh",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin"
|
||||
|
||||
Reference in New Issue
Block a user