Skip to content

Commit

Permalink
AVRO-3411: Fix devcontainers build (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
iemejia authored Sep 20, 2023
1 parent a1e1444 commit f9f6cde
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
70 changes: 32 additions & 38 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,36 @@
{
"name": "Avro Development",

"build": { "dockerfile": "../share/docker/Dockerfile" },

// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"build": {
"dockerfile": "../share/docker/Dockerfile",
"context": ".."
},

// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
// Python
"ms-python.python",
"ms-python.vscode-pylance",

// C/C++
"ms-vscode.cpptools",

// C#
"ms-dotnettools.csharp",

// Rust
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"matklad.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates",

// Java
"vscjava.vscode-java-pack",

// Shell script
"timonwong.shellcheck",

// YAML
"redhat.vscode-yaml",

// Git
"eamodio.gitlens"
]
"customizations": {
"vscode": {
"settings": {
},
"extensions": [
// Python
"ms-python.python",
"ms-python.vscode-pylance",
// C/C++
"ms-vscode.cpptools",
// C#
"ms-dotnettools.csharp",
// Rust
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"matklad.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates",
// Java
"vscjava.vscode-java-pack",
// Shell script
"timonwong.shellcheck",
// YAML
"redhat.vscode-yaml",
// Git
"eamodio.gitlens"
]
}
}
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ To contribute to Avro, please read:
[codeql java img]: https://github.com/apache/avro/actions/workflows/codeql-java-analysis.yml/badge.svg
[codeql javascript img]: https://github.com/apache/avro/actions/workflows/codeql-js-analysis.yml/badge.svg
[codeql python img]: https://github.com/apache/avro/actions/workflows/codeql-py-analysis.yml/badge.svg

You can use devcontainers to develop Avro:

* [![Open in Visual Studio Code](https://img.shields.io/static/v1?label=&message=Open%20in%20Visual%20Studio%20Code&color=blue&logo=visualstudiocode&style=flat)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/apache/avro)
* [![Open in Github Codespaces](https://img.shields.io/static/v1?label=&message=Open%20in%20Github%20Codespaces&color=2f362d&logo=github)](https://codespaces.new/apache/avro?quickstart=1&hide_repo_select=true)

0 comments on commit f9f6cde

Please sign in to comment.