Skip to content

Commit d6df276

Browse files
committed
Add local feature for Ubuntu development container
1 parent 0be19e9 commit d6df276

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

templates/ubuntu-dev/.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
},
4444
"ghcr.io/devcontainers/features/go:1": {
4545
"version": "latest"
46-
}
46+
},
47+
"./local-features/ubuntu-dev": "latest"
4748
},
4849
"runArgs": ["--device=/dev/net/tun"]
4950

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "ubuntu-dev",
3+
"id": "ubuntu-dev",
4+
"version": "1.0.3",
5+
"description": "Setup android sdk in your development container",
6+
"documentationURL": "https://github.com/pnstack/codespace",
7+
"licenseURL": "https://github.com/pnstack/codespace/blob/main/LICENSE",
8+
"options": {},
9+
"installsAfter": ["ghcr.io/devcontainers/features/python"]
10+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
# install omf
4+
curl -L https://get.oh-my.fish | fish
5+
# install agnoster theme
6+
omf theme agnoster

0 commit comments

Comments
 (0)