Skip to content

Commit 02e919f

Browse files
committed
Add additional packages
Some of these are missing in upstream containers
1 parent 989cc22 commit 02e919f

3 files changed

Lines changed: 18 additions & 9 deletions

File tree

src/personal-setup/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "personal-setup",
3-
"version": "4.1.0",
3+
"version": "4.2.0",
44
"name": "Personal Setup",
55
"description": "Sets up my desired software and configuration for any devcontainer environment.",
66
"mounts": [

src/personal-setup/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ echo "Installing packages for distribution: $ID"
1212
case "$ID" in
1313
debian|ubuntu)
1414
apt-get update
15-
apt-get install -y fish git-delta rcm tree openssh-client
15+
apt-get install -y curl fd-find fish git-delta jq less openssh-client rcm ripgrep tree
1616
;;
1717
fedora)
18-
dnf install -y fish git-delta rcm tree openssh-clients
18+
dnf install -y curl fd-find fish git-delta jq less openssh-clients rcm ripgrep tree
1919
;;
2020
*)
2121
echo "Error: Unsupported distribution: $ID"

test/personal-setup/test.sh

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ set -e
33

44
source dev-container-features-test-lib
55

6-
check "delta is available" bash -c "which delta"
7-
check "fish is available" bash -c "which fish"
8-
check "rcm is available" bash -c "which rcup"
9-
check "ssh is available" bash -c "which ssh"
10-
check "tree is available" bash -c "which tree"
11-
# Use a dotfile that should _always_ be present on any system
6+
# Check packages are installed and available
7+
check "curl is available" bash -c "which curl"
8+
check "delta is available" bash -c "which delta"
9+
check "fd is available" bash -c "which fd || which fdfind"
10+
check "fish is available" bash -c "which fish"
11+
check "jq is available" bash -c "which jq"
12+
check "less is available" bash -c "which less"
13+
check "rcm is available" bash -c "which rcup"
14+
check "ripgrep is available" bash -c "which rg"
15+
check "ssh is available" bash -c "which ssh"
16+
check "tree is available" bash -c "which tree"
17+
18+
# Check dotfiles are installed
1219
check "dotfiles are installed" bash -c "test -f $HOME/.rcrc"
20+
21+
# Check environment variables are set
1322
check "_IS_DEVCONTAINER is set" bash -c "test \"\$_IS_DEVCONTAINER\" = \"true\""
1423
check "PROMPT_PREFIX is set" bash -c "test \"\$PROMPT_PREFIX\" = \"\""
1524

0 commit comments

Comments
 (0)