feat: updated devcontainer.json for lua developer
Signed-off-by: juliano.barbosa <julianomb@gmail.com>
This commit is contained in:
		
							parent
							
								
									7fb1580fd4
								
							
						
					
					
						commit
						795a72140a
					
				| 
						 | 
					@ -1,9 +1,16 @@
 | 
				
			||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
 | 
					// For format details, see https://aka.ms/devcontainer.json. For config options, see the
 | 
				
			||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/python
 | 
					// README at: https://github.com/devcontainers/templates/tree/main/src/python
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	"name": "Python 3",
 | 
						"name": "Lua Development",
 | 
				
			||||||
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
 | 
						// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
 | 
				
			||||||
	"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
 | 
						"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
 | 
				
			||||||
 | 
						"features": {
 | 
				
			||||||
 | 
							"ghcr.io/devcontainers/features/common-utils:2": {
 | 
				
			||||||
 | 
								"installZsh": true,
 | 
				
			||||||
 | 
								"installOhMyZsh": true,
 | 
				
			||||||
 | 
								"upgradePackages": true
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
	"customizations": {
 | 
						"customizations": {
 | 
				
			||||||
		"vscode": {
 | 
							"vscode": {
 | 
				
			||||||
			"extensions": [
 | 
								"extensions": [
 | 
				
			||||||
| 
						 | 
					@ -11,23 +18,32 @@
 | 
				
			||||||
				"GitHub.copilot-chat",
 | 
									"GitHub.copilot-chat",
 | 
				
			||||||
				"github.vscode-github-actions",
 | 
									"github.vscode-github-actions",
 | 
				
			||||||
				"elagil.pre-commit-helper",
 | 
									"elagil.pre-commit-helper",
 | 
				
			||||||
				"saoudrizwan.claude-dev"
 | 
									"saoudrizwan.claude-dev",
 | 
				
			||||||
			]
 | 
									"sumneko.lua",
 | 
				
			||||||
 | 
									"actboy168.lua-debug",
 | 
				
			||||||
 | 
									"yinfei.luahelper",
 | 
				
			||||||
 | 
									"keyring.Lua",
 | 
				
			||||||
 | 
									"trixnz.vscode-lua",
 | 
				
			||||||
 | 
									"eamodio.gitlens",
 | 
				
			||||||
 | 
									"mhutchie.git-graph",
 | 
				
			||||||
 | 
									"donjayamanne.githistory",
 | 
				
			||||||
 | 
									"fabiospampinato.vscode-git-history",
 | 
				
			||||||
 | 
									"pprice.better-merge",
 | 
				
			||||||
 | 
									"ryu1kn.partial-diff",
 | 
				
			||||||
 | 
									"moshfeu.compare-folders",
 | 
				
			||||||
 | 
									"editorconfig.editorconfig"
 | 
				
			||||||
 | 
								],
 | 
				
			||||||
 | 
								"settings": {
 | 
				
			||||||
 | 
									"Lua.telemetry.enable": false,
 | 
				
			||||||
 | 
									"Lua.diagnostics.globals": ["vim"],
 | 
				
			||||||
 | 
									"Lua.workspace.library": [
 | 
				
			||||||
 | 
										"${3rd}/love2d/library"
 | 
				
			||||||
 | 
									],
 | 
				
			||||||
 | 
									"Lua.runtime.version": "LuaJIT",
 | 
				
			||||||
 | 
									"Lua.workspace.checkThirdParty": false
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
	// Features to add to the dev container. More info: https://containers.dev/features.
 | 
						"postCreateCommand": "sudo apt-get update && sudo apt-get install -y build-essential lua5.3 lua5.3-dev luarocks && sudo luarocks install luacheck",
 | 
				
			||||||
	// "features": {},
 | 
						"remoteUser": "vscode"
 | 
				
			||||||
 | 
					 | 
				
			||||||
	// 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": "pip3 install --user -r requirements.txt",
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	// Configure tool-specific properties.
 | 
					 | 
				
			||||||
	// "customizations": {},
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
 | 
					 | 
				
			||||||
	// "remoteUser": "root"
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue