Skip to content

Commit e5dc7ba

Browse files
authored
Add packages to personal-setup (#6)
This adds `tree` and `fish` to the packages installed into devcontainers.
1 parent e9c92bf commit e5dc7ba

3 files changed

Lines changed: 5 additions & 3 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": "1.0.0",
3+
"version": "1.1.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 rcm
15+
apt-get install -y fish rcm tree
1616
;;
1717
fedora)
18-
dnf install -y rcm
18+
dnf install -y fish rcm tree
1919
;;
2020
*)
2121
echo "Error: Unsupported distribution: $ID"

test/personal-setup/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ set -e
33

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

6+
check "fish is available" bash -c "which fish"
67
check "rcm is available" bash -c "which rcup"
8+
check "tree is available" bash -c "which tree"
79
# Use a dotfile that should _always_ be present on any system
810
check "dotfiles are installed" bash -c "test -f $HOME/.config/fish/config.fish"
911

0 commit comments

Comments
 (0)