Skip to content

Commit

Permalink
🤖 Add .devcontainer settings (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler authored Oct 8, 2022
1 parent 9a188b7 commit 895c2e5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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",
}
6 changes: 6 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/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

0 comments on commit 895c2e5

Please sign in to comment.