Skip to content

Commit

Permalink
Add devcontainer file to work in Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
alknemeyer committed Apr 4, 2023
1 parent 537cfeb commit 8866ac3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// https://code.visualstudio.com/docs/devcontainers/containers
{
"image": "ubuntu:22.04",
// `software-properties-common` to get `add-apt-repository`
// `build-essential` for a C compiler
// `protobuf-compiler` for `protoc`
"onCreateCommand": "apt update && apt install software-properties-common build-essential git protobuf-compiler -y && add-apt-repository ppa:ecal/ecal-latest -y && apt-get update && apt-get install ecal curl -y && curl https://sh.rustup.rs -sSf | sh -s -- -y",
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"serayuzgur.crates"
]
}
}
}

0 comments on commit 8866ac3

Please sign in to comment.