🤖 Add .devcontainer

This commit is contained in:
Ettore Di Giacinto 2022-10-08 22:53:00 +00:00
parent 48488a69eb
commit dd50775dfa
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
//"forwardPorts": [1, 2, 3],
// Install needed extensions
"extensions": [
"ms-azuretools.vscode-docker",
"golang.Go",
"MS-vsliveshare.vsliveshare",
"earthly.earthfile-syntax-highlighting"
],
// Adds VS Code settings.json values into the environment.
"settings": {
"peacock.remoteColor": "#0078D7"
},
// Run Bash script in .devcontainer directory
"postCreateCommand": "/bin/bash ./.devcontainer/post-create.sh > ~/post-create.log",
}

View File

@ -0,0 +1,8 @@
#!/bin/bash
curl https://luet.io/install.sh | sudo sh
sudo luet repo add kairos --yes --url quay.io/kairos/packages --type docker
sudo luet install -y utils/goreleaser utils/earthly utils/operator-sdk utils/kubesplit
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash