opravený user a mount

This commit is contained in:
2026-01-10 09:44:35 +00:00
parent 71b2a5e3cc
commit 0550b23beb
2 changed files with 27 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
# Základný oficiálny Rust image
FROM rust:1.92
# Inštalácia doplnkových nástrojov
RUN rustup component add rustfmt clippy
# Vytvorenie pracovného adresára
WORKDIR /workspace
# Základný oficiálny Rust image
FROM rust:1.92
# Inštalácia doplnkových nástrojov
RUN rustup component add rustfmt clippy
# Vytvorenie pracovného adresára
WORKDIR /workspace

View File

@@ -1,17 +1,19 @@
{
"name": "RustDev",
"build": {
"dockerfile": "Dockerfile"
},
"workspaceFolder": "/workspace",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
],
"settings": {
"editor.formatOnSave": true
}
}
}
}
{
"name": "RustDev",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"workspaceFolder": "/workspace",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
],
"settings": {
"editor.formatOnSave": true
}
}
}
}