try fixing ra

This commit is contained in:
Stephan Dilly 2020-09-19 12:36:48 +02:00
parent bf32ae3cf0
commit 4b10b154b3
2 changed files with 15 additions and 12 deletions

View file

@ -1,7 +1,16 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/rust/.devcontainer/base.Dockerfile
FROM ubuntu:18.04
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1
RUN apt-get update
RUN apt-get install -y \
curl \
git \
gnupg2 \
jq \
sudo \
zsh \
vim \
build-essential \
openssl
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# [Optional] Uncomment this section to install additional packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
ENV PATH="/root/.cargo/bin:$PATH"

View file

@ -5,11 +5,6 @@
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
@ -22,11 +17,10 @@
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"matklad.rust-analyzer",
"bungcip.better-toml",
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"serayuzgur.crates",
"a5huynh.vscode-ron"
"ms-vsliveshare.vsliveshare"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],