-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Current Behavior (bug)
When Git is configured to sign commits with a GPG key, making a commit inside the dev container produced by devbox generate devcontainer
fails with the following error:
error: cannot run gpg: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object
Expected Behavior (fix)
gnupg2
should be installed in the container, as per the Sharing GPG Keys instructions.
Additional context
In VS Code, the Dev Containers: Show Container Log
command shows:
...
[16707 ms] Start: Run in container: gpgconf --list-dir agent-socket
[16710 ms]
[16710 ms] /bin/sh: 19: gpgconf: not found
[16710 ms] Exit code 127
[16710 ms] gpg-agent: No agent-socket found in container.
...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working