Initial commit

This commit is contained in:
Jonathan Carter
2019-05-01 13:00:29 -07:00
parent 2f8def812b
commit 0207c629b9
11 changed files with 133 additions and 2 deletions

23
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
FROM rust:1
# Copy endpoint specific user setting overrides into container
COPY settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
RUN rustup update
RUN rustup component add rls rust-analysis rust-src
# Install git, process tools
RUN apt-get update && apt-get -y install git procps
# Install other dependencies
RUN apt-get install -y lldb-3.9
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -0,0 +1,14 @@
{
"name": "Rust",
"dockerFile": "Dockerfile",
"extensions": [
"rust-lang.rust",
"bungcip.better-toml",
"vadimcn.vscode-lldb"
],
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
]
}

View File

@@ -0,0 +1,3 @@
{
"lldb.executable": "/usr/bin/lldb-3.9"
}