mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-04-26 18:41:00 +00:00
🤖 Add .devcontainer
This commit is contained in:
parent
48488a69eb
commit
dd50775dfa
18
.devcontainer/devcontainer.json
Normal file
18
.devcontainer/devcontainer.json
Normal 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",
|
||||
}
|
8
.devcontainer/post-create.sh
Normal file
8
.devcontainer/post-create.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user