-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/go | ||
{ | ||
"name": "Go", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm", | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "sudo apt-get update && sudo apt-get -y install dosfstools mtools gdisk fdisk p7zip genisoimage squashfs-tools && echo 'mtools_skip_check=1' | sudo tee -a /etc/mtools.conf", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"aaron-bond.better-comments", | ||
"jeff-hykin.better-go-syntax", | ||
"golang.go", | ||
"stkb.rewrap", | ||
"Gruntfuggly.todo-tree" | ||
] | ||
} | ||
} | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"recommendations": [ | ||
"aaron-bond.better-comments", | ||
"jeff-hykin.better-go-syntax", | ||
"ms-vscode-remote.remote-containers", | ||
"golang.go", | ||
"stkb.rewrap", | ||
"gruntfuggly.todo-tree" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"editor.wordWrap": "wordWrapColumn", | ||
"editor.wordWrapColumn": 120, | ||
"editor.formatOnSave": true, | ||
"files.insertFinalNewline": true, | ||
"git.confirmSync": false, | ||
"git.autofetch": true, | ||
"rewrap.reformat": true, | ||
"go.testFlags": [ | ||
"-v" | ||
] | ||
} |