Skip to content

Commit 4ef43bc

Browse files
authored
Add SSH to personal-setup feature (#8)
This is needed for commit signing using SSH keys.
1 parent 8b09163 commit 4ef43bc

3 files changed

Lines changed: 4 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.2.0",
3+
"version": "1.3.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
15+
apt-get install -y fish git-delta rcm tree openssh-client
1616
;;
1717
fedora)
18-
dnf install -y fish git-delta rcm tree
18+
dnf install -y fish git-delta rcm tree openssh-clients
1919
;;
2020
*)
2121
echo "Error: Unsupported distribution: $ID"

test/personal-setup/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ check "delta is available" bash -c "which delta"
77
check "fish is available" bash -c "which fish"
88
check "rcm is available" bash -c "which rcup"
99
check "tree is available" bash -c "which tree"
10+
check "ssh is available" bash -c "which ssh"
1011
# Use a dotfile that should _always_ be present on any system
1112
check "dotfiles are installed" bash -c "test -f $HOME/.config/fish/config.fish"
1213

0 commit comments

Comments
 (0)