You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
 | 
						|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/go
 | 
						|
{
 | 
						|
	"name": "Go",
 | 
						|
	"build": {
 | 
						|
		"dockerfile": "Dockerfile",
 | 
						|
		"args": {
 | 
						|
			// Update the VARIANT arg to pick a version of Go: 1, 1.18, 1.17
 | 
						|
			// Append -bullseye or -buster to pin to an OS version.
 | 
						|
			// Use -bullseye variants on local arm64/Apple Silicon.
 | 
						|
			"VARIANT": "1.21-bullseye",
 | 
						|
			// Options
 | 
						|
			"NODE_VERSION": "none"
 | 
						|
		}
 | 
						|
	},
 | 
						|
	"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
 | 
						|
 | 
						|
	// Configure tool-specific properties.
 | 
						|
	"customizations": {
 | 
						|
		// Configure properties specific to VS Code.
 | 
						|
		"vscode": {
 | 
						|
			// Set *default* container specific settings.json values on container create.
 | 
						|
			"settings": { 
 | 
						|
				"go.toolsManagement.checkForUpdates": "local",
 | 
						|
				"go.useLanguageServer": true,
 | 
						|
				"go.gopath": "/go"
 | 
						|
			},
 | 
						|
			
 | 
						|
			// Add the IDs of extensions you want installed when the container is created.
 | 
						|
			"extensions": [
 | 
						|
				"golang.Go",
 | 
						|
				"Continue.continue"
 | 
						|
			]
 | 
						|
		}
 | 
						|
	},
 | 
						|
 | 
						|
	// 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": "ln -s /workspaces/rgb-led-board/.continue/config/config.yaml /home/vscode/.continue/config.yaml",
 | 
						|
 | 
						|
	// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
 | 
						|
	"remoteUser": "vscode",
 | 
						|
	"features": {
 | 
						|
		"docker-in-docker": "latest",
 | 
						|
		"kubectl-helm-minikube": "latest",
 | 
						|
		"git": "latest",
 | 
						|
		"ghcr.io/devcontainers/features/docker-in-docker:2": {}
 | 
						|
	}
 | 
						|
}
 |