feat(devcontainer): add devcontainer references here and in clustertool templates
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
|
||||||
|
"name": "ClusterTool Cluster",
|
||||||
|
"image": "tccr.io/tccr/devcontainer:latest",
|
||||||
|
"initializeCommand": "docker pull tccr.io/tccr/devcontainer:latest",
|
||||||
|
"postCreateCommand": {
|
||||||
|
"setup": "bash ${containerWorkspaceFolder}/.devcontainer/postCreateCommand.sh"
|
||||||
|
},
|
||||||
|
"postStartCommand": {
|
||||||
|
"git": "git config --global --add safe.directory ${containerWorkspaceFolder}"
|
||||||
|
}
|
||||||
|
}
|
||||||
Executable
+19
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
set -o noglob
|
||||||
|
|
||||||
|
# Setup fisher plugin manager for fish and install plugins
|
||||||
|
/usr/bin/fish -c "
|
||||||
|
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
|
||||||
|
fisher install decors/fish-colored-man
|
||||||
|
fisher install edc/bass
|
||||||
|
fisher install jorgebucaran/autopair.fish
|
||||||
|
fisher install nickeb96/puffer-fish
|
||||||
|
fisher install PatrickF1/fzf.fish
|
||||||
|
"
|
||||||
|
|
||||||
|
# Create/update virtual environment
|
||||||
|
if ! grep -q "venv /workspaces/" .venv/pyvenv.cfg; then
|
||||||
|
rm -rf .venv
|
||||||
|
fi
|
||||||
|
task workstation:venv
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
|
||||||
|
"name": "TrueCharts",
|
||||||
|
"image": "tccr.io/tccr/devcontainer:latest",
|
||||||
|
"initializeCommand": "docker pull tccr.io/tccr/devcontainer:latest",
|
||||||
|
"postCreateCommand": {
|
||||||
|
"setup": "bash ${containerWorkspaceFolder}/.devcontainer/postCreateCommand.sh"
|
||||||
|
},
|
||||||
|
"postStartCommand": {
|
||||||
|
"git": "git config --global --add safe.directory ${containerWorkspaceFolder}"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
set -o noglob
|
||||||
|
|
||||||
|
# Setup fisher plugin manager for fish and install plugins
|
||||||
|
/usr/bin/fish -c "
|
||||||
|
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
|
||||||
|
fisher install decors/fish-colored-man
|
||||||
|
fisher install edc/bass
|
||||||
|
fisher install jorgebucaran/autopair.fish
|
||||||
|
fisher install nickeb96/puffer-fish
|
||||||
|
fisher install PatrickF1/fzf.fish
|
||||||
|
"
|
||||||
|
|
||||||
|
# Create/update virtual environment
|
||||||
|
if ! grep -q "venv /workspaces/" .venv/pyvenv.cfg; then
|
||||||
|
rm -rf .venv
|
||||||
|
fi
|
||||||
|
task workstation:venv
|
||||||
Reference in New Issue
Block a user