Skip to content

Commit 5ac63ba

Browse files
authored
chore: set up a devcontainer config for easier contributions (#87)
1 parent 5c6d8d2 commit 5ac63ba

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.devcontainer/devcontainer.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "Default Linux Universal",
3+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
4+
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
5+
"features": {
6+
},
7+
8+
"onCreateCommand": "bash ./ops/install.sh"
9+
}

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "devcontainers"
4+
directory: "/"
5+
schedule:
6+
interval: weekly

ops/install.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# This script is meant for setting up a working devcontainer
4+
5+
# Install the Grit CLI
6+
curl -fsSL https://docs.grit.io/install | bash
7+
source ~/.bashrc
8+

0 commit comments

Comments
 (0)