Skip to content

Commit 605dc2c

Browse files
authored
Add ca-certificates as installsAfter to all features + bump patch versions (#265)
1 parent c575a44 commit 605dc2c

File tree

93 files changed

+586
-299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+586
-299
lines changed

.github/skills/change-devcontainer-feature/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Apply the changes described in the issue. Common change types:
3737
- **Update tests** — fix or improve `test.sh` assertions
3838
- **Update helper functions** — copy latest versions from https://github.com/devcontainer-community/shell-snippets
3939

40+
When editing `devcontainer-feature.json`, ensure `"installsAfter"` includes `"ghcr.io/devcontainer-community/features/ca-certificates:latest"` as the first entry. Add it if missing.
41+
4042
When modifying `install.sh`:
4143
- Keep helper functions verbatim from the shell-snippets repo
4244
- Only customize the feature-specific parts (repository, binary name, URL template, architecture mappings)

.github/skills/create-devcontainer-feature/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,18 @@ Create these files:
8585
],
8686
"description": "Version of \"<binary-name>\" to install."
8787
}
88-
}
88+
},
89+
"installsAfter": [
90+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
91+
]
8992
}
9093
```
9194

9295
Notes:
9396
- `name` uses the owner/project format with a slash (e.g., `"schpet/linear-cli"`, `"github.com/cli"`, `"cloudflare.com/warp-cli"`). For plain-name features (e.g., `bat`, `jq`), `name` is just the tool name.
9497
- `id` is derived from `name` by replacing `/` with `-` (e.g., `"schpet/linear-cli"``"schpet-linear-cli"`). It MUST match the directory name exactly.
9598
- `version` starts at `"1.0.0"` for new features
96-
- Add `"installsAfter"` only if there is a real dependency on another feature
99+
- Always include `"installsAfter": ["ghcr.io/devcontainer-community/features/ca-certificates:latest"]` so CA certificates are available before the feature runs
97100

98101
### 4b. `src/<FEATURE_ID>/install.sh`
99102

README.md

Lines changed: 90 additions & 90 deletions
Large diffs are not rendered by default.

src/add-script/devcontainer-feature.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "add-script",
33
"id": "add-script",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"description": "Add a script from a URL or inline text to /usr/local/bin during devcontainer build",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/add-script",
77
"options": {
@@ -20,5 +20,8 @@
2020
"default": "",
2121
"description": "Inline script text to add."
2222
}
23-
}
23+
},
24+
"installsAfter": [
25+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
26+
]
2427
}

src/alexpasmantier-television/devcontainer-feature.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "alexpasmantier/television",
33
"id": "alexpasmantier-television",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"description": "Install \"tv\" (television) binary",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/alexpasmantier-television",
77
"options": {
@@ -13,5 +13,8 @@
1313
],
1414
"description": "Version of \"tv\" to install."
1515
}
16-
}
16+
},
17+
"installsAfter": [
18+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
19+
]
1720
}

src/ankitpokhrel-jira-cli/devcontainer-feature.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ankitpokhrel/jira-cli",
33
"id": "ankitpokhrel-jira-cli",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "Install \"jira\" binary",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/ankitpokhrel-jira-cli",
77
"options": {
@@ -13,5 +13,8 @@
1313
],
1414
"description": "Version of \"jira\" to install."
1515
}
16-
}
16+
},
17+
"installsAfter": [
18+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
19+
]
1720
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "apt-build-essential",
33
"id": "apt-build-essential",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "Install \"build-essential\" apt package (gcc, g++, make)",
6-
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/apt-build-essential"
6+
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/apt-build-essential",
7+
"installsAfter": [
8+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
9+
]
710
}

src/asdf-vm.com/devcontainer-feature.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "asdf-vm.com",
33
"id": "asdf-vm.com",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "Install \"asdf\" binary to the HOME folder of the REMOTE user",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/asdf-vm.com",
77
"options": {
@@ -15,5 +15,8 @@
1515
],
1616
"description": "Version of \"asdf\" to install."
1717
}
18-
}
19-
}
18+
},
19+
"installsAfter": [
20+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
21+
]
22+
}

src/astral.sh-uv/devcontainer-feature.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "astral.sh/uv",
33
"id": "astral.sh-uv",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"description": "Install \"uv\" and \"uvx\" binaries",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/astral.sh-uv",
77
"options": {
@@ -18,5 +18,8 @@
1818
"description": "Enable or disable uv and uvx autocompletion.",
1919
"type": "boolean"
2020
}
21-
}
21+
},
22+
"installsAfter": [
23+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
24+
]
2225
}

src/atuin.sh/devcontainer-feature.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "atuin.sh",
33
"id": "atuin.sh",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "Install \"atuin\" binary",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/atuin.sh",
77
"options": {
@@ -13,5 +13,8 @@
1313
],
1414
"description": "Version of \"atuin\" to install."
1515
}
16-
}
16+
},
17+
"installsAfter": [
18+
"ghcr.io/devcontainer-community/features/ca-certificates:latest"
19+
]
1720
}

0 commit comments

Comments
 (0)