46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
| {
 | |
|   "name": "oauth2-proxy Dev",
 | |
|   "context": "..",
 | |
|   "dockerFile": "./Dockerfile",
 | |
|   "postCreateCommand": "pre-commit install && go mod download",
 | |
|   "containerEnv": { "DEVCONTAINER": "1" },
 | |
|   "appPort": ["4180:4180"],
 | |
|   "runArgs": ["-e", "GIT_EDITOR=code --wait"],
 | |
|   "customizations": {
 | |
|     "vscode": {
 | |
|       "extensions": [
 | |
|         "golang.go",
 | |
|         "ms-vscode.makefile-tools",
 | |
|         "visualstudioexptteam.vscodeintellicode",
 | |
|         "redhat.vscode-yaml",
 | |
|         "esbenp.prettier-vscode",
 | |
|         "GitHub.vscode-pull-request-github"
 | |
|       ],
 | |
|       "settings": {
 | |
|         "editor.formatOnPaste": false,
 | |
|         "editor.formatOnSave": true,
 | |
|         "editor.formatOnType": true,
 | |
|         "files.trimTrailingWhitespace": true,
 | |
|         "yaml.customTags": [
 | |
|           "!input scalar",
 | |
|           "!secret scalar",
 | |
|           "!include_dir_named scalar",
 | |
|           "!include_dir_list scalar",
 | |
|           "!include_dir_merge_list scalar",
 | |
|           "!include_dir_merge_named scalar"
 | |
|         ]
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   "features": {
 | |
|     "ghcr.io/devcontainers/features/docker-in-docker": {},
 | |
|     "ghcr.io/devcontainers/features/common-utils": {
 | |
|       "configureZshAsDefaultShell": true,
 | |
|       "username": "vscode",
 | |
|       "userUid": 1000,
 | |
|       "userGid": 1000
 | |
|     },
 | |
|     "ghcr.io/devcontainers/features/kubectl-helm-minikube": {}
 | |
|   }
 | |
| }
 |