Use MAJOR instead of MAJOR.MINOR
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# For information on the contents of the container image below, see following Dockerfile:
 | 
					# For information on the contents of the container image below, see following Dockerfile:
 | 
				
			||||||
# https://github.com/microsoft/vscode-dev-containers/tree/v0.43.0/containers/javascript-node-12/.devcontainer/Dockerfile
 | 
					# https://github.com/microsoft/vscode-dev-containers/tree/v0.43.0/containers/javascript-node-12/.devcontainer/Dockerfile
 | 
				
			||||||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0.43-12
 | 
					FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The image referenced above includes a non-root user with sudo access. Add 
 | 
					# The image referenced above includes a non-root user with sudo access. Add 
 | 
				
			||||||
# the "remoteUser" property to devcontainer.json to use it. On Linux, the container 
 | 
					# the "remoteUser" property to devcontainer.json to use it. On Linux, the container 
 | 
				
			||||||
@@ -30,8 +30,7 @@ RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
 | 
				
			|||||||
    && mkdir -p /usr/local/share/npm-global \
 | 
					    && mkdir -p /usr/local/share/npm-global \
 | 
				
			||||||
    && chown ${USERNAME}:root /usr/local/share/npm-global \
 | 
					    && chown ${USERNAME}:root /usr/local/share/npm-global \
 | 
				
			||||||
    && npm config -g set prefix /usr/local/share/npm-global \
 | 
					    && npm config -g set prefix /usr/local/share/npm-global \
 | 
				
			||||||
    && sudo -u ${USERNAME} npm config -g set prefix /usr/local/share/npm-global \
 | 
					    && sudo -u ${USERNAME} npm config -g set prefix /usr/local/share/npm-global
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# *************************************************************
 | 
					# *************************************************************
 | 
				
			||||||
# * Uncomment this section to use RUN instructions to install *
 | 
					# * Uncomment this section to use RUN instructions to install *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user