diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 1a8cc51124..0000000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -ARG VARIANT="bullseye" -FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT} - -RUN apt-get update - -# For building -RUN apt-get install -y \ - git \ - pkg-config \ - libsystemd-dev \ - build-essential \ - libelf-dev \ - libseccomp-dev \ - libclang-dev \ - libssl-dev - -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y -RUN rustup component add rustfmt -RUN rustup component add clippy diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e66a827c6c..6c6d26a457 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,24 +1,18 @@ { "name": "oci-spec-rs", + "image": "mcr.microsoft.com/devcontainers/rust:1-bullseye", "customizations": { "vscode": { "settings": { - "lldb.executable": "/usr/bin/lldb", "files.watcherExclude": { "**/target/**": true }, "rust-analyzer.checkOnSave.command": "clippy" }, "extensions": [ - "vadimcn.vscode-lldb", - "mutantdino.resourcemonitor", "rust-lang.rust-analyzer", - "tamasfe.even-better-toml", - "serayuzgur.crates" + "tamasfe.even-better-toml" ] } - }, - "build": { - "dockerfile": "Dockerfile" } } \ No newline at end of file