Skip to content

Commit

Permalink
build(devcontainer): 🏗️ add devcontainer files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Apr 19, 2024
1 parent 393e8bf commit 87a8706
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Rust",
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bookworm",
"features": {
"ghcr.io/devcontainers-contrib/features/protoc:1": {
"version": "latest"
},
"ghcr.io/marcozac/devcontainer-features/buf:1": {
"installProtocGenBufBreaking": true,
"installProtocGenBufLint": true,
"version": "latest"
},
"ghcr.io/devcontainers-contrib/features/dprint-asdf:2": {
"version": "latest"
},
"ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall:0": {}
},

"mounts": [
{
"source": "devcontainer-cargo-cache-${devcontainerId}",
"target": "/usr/local/cargo",
"type": "volume"
}
]
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"actions",
"config",
"deps",
"devcontainer",
"packaging",
"rsjudge-grpc",
"rsjudge-judger",
Expand Down

0 comments on commit 87a8706

Please sign in to comment.