Ajout d'un environnement de développement dans un conteneur #10

Merged
tipragot merged 1 commit from devcontainer into main 2024-01-27 12:20:26 +00:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit 6e9f88ab5c - Show all commits

3
.devcontainer/Dockerfile Executable file
View file

@ -0,0 +1,3 @@
FROM mcr.microsoft.com/devcontainers/rust:0-1-bullseye
RUN rustup default nightly

14
.devcontainer/devcontainer.json Executable file
View file

@ -0,0 +1,14 @@
{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"settings": {
"editor.formatOnSave": true,
"rust-analyzer.check.command": "clippy"
}
}
}
}