Repository navigation
Commit 3819277
authored
fix(claude-code): install openssh-client for SSH-format commit signing (#111)
The shared `base` stage installs packages with --no-install-recommends,
which drops git's Recommends on ssh-client (provided by openssh-client).
The image therefore ships without ssh-keygen, so any container whose
gitconfig uses SSH-format commit signing (gpg.format=ssh +
commit.gpgsign=true, commonly copied in by VS Code's
dev.containers.copyGitConfig) fails to commit:
error: cannot run ssh-keygen: No such file or directory
Add openssh-client to the base apt block so both the default and sandbox
targets get ssh-keygen/ssh/ssh-add. It must live in base: the sandbox
firewall blocks deb.debian.org, so it can't be apt-installed at runtime
(same reasoning as chromium). openssh-client hard-depends on libfido2, so
FIDO2 hardware keys (YubiKey sk-ssh-ed25519) sign too, even under
--no-install-recommends.
Closes #1101 parent aa3c5e9 commit 3819277
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments