Bump to 0.191.0
This commit is contained in:
		@@ -1,11 +1,10 @@
 | 
				
			|||||||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/go/.devcontainer/base.Dockerfile
 | 
					# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/go/.devcontainer/base.Dockerfile
 | 
				
			||||||
ARG VARIANT="1"
 | 
					ARG VARIANT="1"
 | 
				
			||||||
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
 | 
					FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# [Optional] Install a version of Node.js using nvm for front end dev
 | 
					# [Choice] Node.js version: lts/*, 16, 14, 12, 10
 | 
				
			||||||
ARG INSTALL_NODE="true"
 | 
					 | 
				
			||||||
ARG NODE_VERSION="lts/*"
 | 
					ARG NODE_VERSION="lts/*"
 | 
				
			||||||
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
 | 
					RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c ". /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# [Optional] Uncomment this section to install additional OS packages.
 | 
					# [Optional] Uncomment this section to install additional OS packages.
 | 
				
			||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
 | 
					# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
 | 
					// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
 | 
				
			||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/go
 | 
					// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/go
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	"name": "Go",
 | 
						"name": "Go",
 | 
				
			||||||
	"build": {
 | 
						"build": {
 | 
				
			||||||
@@ -8,7 +8,6 @@
 | 
				
			|||||||
			// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.15
 | 
								// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.15
 | 
				
			||||||
			"VARIANT": "1.16",
 | 
								"VARIANT": "1.16",
 | 
				
			||||||
			// Options
 | 
								// Options
 | 
				
			||||||
			"INSTALL_NODE": "false",
 | 
					 | 
				
			||||||
			"NODE_VERSION": "lts/*"
 | 
								"NODE_VERSION": "lts/*"
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
@@ -17,8 +16,9 @@
 | 
				
			|||||||
	// Set *default* container specific settings.json values on container create.
 | 
						// Set *default* container specific settings.json values on container create.
 | 
				
			||||||
	"settings": { 
 | 
						"settings": { 
 | 
				
			||||||
		"go.toolsManagement.checkForUpdates": "local",
 | 
							"go.toolsManagement.checkForUpdates": "local",
 | 
				
			||||||
 | 
							"go.useLanguageServer": true,
 | 
				
			||||||
		"go.gopath": "/go",
 | 
							"go.gopath": "/go",
 | 
				
			||||||
		"go.useLanguageServer": true
 | 
							"go.goroot": "/usr/local/go"
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	// Add the IDs of extensions you want installed when the container is created.
 | 
						// Add the IDs of extensions you want installed when the container is created.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user