Updated with latest definition
This commit is contained in:
		@@ -21,14 +21,14 @@ RUN apt-get update \
 | 
			
		||||
    && apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
 | 
			
		||||
    #
 | 
			
		||||
    # Verify git, needed tools installed
 | 
			
		||||
    && apt-get -y install git iproute2 procps lsb-release \
 | 
			
		||||
    && apt-get -y install git openssh-client less iproute2 procps lsb-release \
 | 
			
		||||
    #
 | 
			
		||||
    # Install lldb, vadimcn.vscode-lldb VSCode extension dependencies
 | 
			
		||||
    && apt-get install -y lldb python3-minimal libpython3.7 \
 | 
			
		||||
    #
 | 
			
		||||
    # Install Rust components
 | 
			
		||||
    && rustup update \
 | 
			
		||||
    && rustup component add rls rust-analysis rust-src rustfmt clippy \
 | 
			
		||||
    && rustup update 2>&1 \
 | 
			
		||||
    && rustup component add rls rust-analysis rust-src rustfmt clippy 2>&1 \
 | 
			
		||||
    #
 | 
			
		||||
    # Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
 | 
			
		||||
    && groupadd --gid $USER_GID $USERNAME \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,29 +1,27 @@
 | 
			
		||||
{
 | 
			
		||||
	"name": "Rust",
 | 
			
		||||
	"name": "Rust Sample",
 | 
			
		||||
	"dockerFile": "Dockerfile",
 | 
			
		||||
	"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
 | 
			
		||||
 | 
			
		||||
	// Use 'settings' to set *default* container specific settings.json values on container create. 
 | 
			
		||||
	// You can edit these settings after create using File > Preferences > Settings > Remote.
 | 
			
		||||
	// Set *default* container specific settings.json values on container create.
 | 
			
		||||
	"settings": { 
 | 
			
		||||
		"terminal.integrated.shell.linux": "/bin/bash",
 | 
			
		||||
		"lldb.executable": "/usr/bin/lldb"
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// Use 'appPort' to create a container with published ports. If the port isn't working, be sure
 | 
			
		||||
	// your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
 | 
			
		||||
	// "appPort": [],
 | 
			
		||||
 | 
			
		||||
	// Uncomment the next line to run commands after the container is created.
 | 
			
		||||
	// "postCreateCommand": "rustc --version",
 | 
			
		||||
 | 
			
		||||
	// Comment out the next line to run as root
 | 
			
		||||
	"remoteUser": "vscode",
 | 
			
		||||
 | 
			
		||||
	// Add the IDs of extensions you want installed when the container is created in the array below.
 | 
			
		||||
	// Add the IDs of extensions you want installed when the container is created.
 | 
			
		||||
	"extensions": [
 | 
			
		||||
		"rust-lang.rust",
 | 
			
		||||
		"bungcip.better-toml",
 | 
			
		||||
		"vadimcn.vscode-lldb"
 | 
			
		||||
	]
 | 
			
		||||
	],
 | 
			
		||||
 | 
			
		||||
	// 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": "rustc --version",
 | 
			
		||||
 | 
			
		||||
	// Comment out to run as root instead
 | 
			
		||||
	"remoteUser": "vscode"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user