You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
36 lines
1.5 KiB
{
|
|
"name": "AlmaLinux_WWW_Container",
|
|
"overrideCommand": false,
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"VARIANT": "hugo_extended",
|
|
"VERSION": "v0.141.0",
|
|
"WORKSPACE_DIR": "${containerWorkspaceFolder}"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"budparr.language-hugo-vscode",
|
|
"ms-python.python",
|
|
"esbenp.prettier-vscode",
|
|
"yzhang.markdown-all-in-one",
|
|
"tamasfe.even-better-toml",
|
|
"ms-azuretools.vscode-docker"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"terminal.integrated.profiles.linux": {
|
|
"bash": {
|
|
"path": "/bin/bash",
|
|
"icon": "terminal-bash"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"forwardPorts": [1313],
|
|
"remoteUser": "alma_www_user",
|
|
"postCreateCommand": "echo 'function git_branch() { local branch; branch=\"$(git symbolic-ref --short HEAD 2> /dev/null)\"; if [[ -n \"$branch\" ]]; then echo -n \"$branch\"; return 0; fi; return 1; } && function git_has_changes() { git diff --quiet HEAD 2> /dev/null || echo -n \"✗\"; } && export WHITE=\"\\[\\033[1;37m\\]\" && export GREEN=\"\\[\\033[0;32m\\]\" && export BLUE=\"\\[\\033[0;94m\\]\" && export RED=\"\\[\\033[1;31m\\]\" && export YELLOW=\"\\[\\033[1;33m\\]\" && export RESET=\"\\[\\033[0m\\]\" && function prompt_command() { PS1=\"${GREEN}\\u${WHITE} ➜ ${BLUE}\\w ${BLUE}(${RED}\\$(git_branch)${YELLOW}\\$(git_has_changes)${BLUE})${RESET}$ \"; } && export PROMPT_COMMAND=\"prompt_command\"' >> ~/.bashrc"
|
|
}
|
|
|