Skip to content

Commit

Permalink
Merge pull request #161 from Exabyte-io/feat/SOF-7552
Browse files Browse the repository at this point in the history
SOF-7572: add devcontainer/codespaces config + update dependencies
  • Loading branch information
pranabdas authored Jan 22, 2025
2 parents 05f1925 + 0eba2a4 commit c5e59f5
Show file tree
Hide file tree
Showing 4 changed files with 4,030 additions and 3,911 deletions.
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"node": {
"version": "20"
},
"docker-in-docker": {
"version": "latest"
}
},
"customizations": {
"vscode": {
"settings": {
"telemetry.telemetryLevel": "off",
"telemetry.enableTelemetry": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "on",
"editor.tabSize": 2,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"editor.fontSize": 14,
"editor.rulers": [80],
"workbench.colorCustomizations": {
"editorRuler.foreground": "#fdb88056"
}
},
"extensions": [
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"mutantdino.resourcemonitor"
]
}
},
"postCreateCommand": "bash .devcontainer/setup.sh",
"waitFor": "postCreateCommand"
}
12 changes: 12 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
sudo apt update && sudo apt install -y \
python3 \
python3-distutils \
build-essential \
libgl1-mesa-dev \
libxi-dev \
libxmu-dev \
libgles2-mesa-dev \
libx11-dev \
xvfb \
&& sudo ln -s /usr/bin/python3 /usr/bin/python
Loading

0 comments on commit c5e59f5

Please sign in to comment.