Skip to content

Commit

Permalink
Upgrade devcontainer config (cli#6405)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungaretti authored Oct 11, 2022
1 parent 331dc24 commit 88775a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 24 deletions.
5 changes: 0 additions & 5 deletions .devcontainer/Dockerfile

This file was deleted.

30 changes: 16 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"extensions": [
"golang.go"
],
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "1.18"
}
"image": "mcr.microsoft.com/devcontainers/go:1.18",
"features": {
"ghcr.io/devcontainers/features/sshd:1": {}
},
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
"remoteUser": "vscode",
"customizations": {
"vscode": {
"extensions": [
"golang.go"
],
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
}
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"remoteUser": "vscode"
]
}
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

0 comments on commit 88775a2

Please sign in to comment.