mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
chore: update postStartCommand to retain GPG signing across container restarts
This commit is contained in:
@@ -107,7 +107,8 @@ entry in the container's local keyring (to select the key) and the forwarded age
|
||||
```
|
||||
|
||||
3. Rebuild the container. The `postStartCommand` auto-imports `.git/signing.pub`
|
||||
and removes it.
|
||||
on every container start, so signing survives restarts and rebuilds without
|
||||
re-running the export script.
|
||||
|
||||
The helper auto-selects `gpg2`/`gpg` based on where your key is visible, which
|
||||
avoids host setups where the two binaries use different keyrings.
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
"postCreateCommand": "pnpm install --frozen-lockfile",
|
||||
|
||||
"postStartCommand": "if [ -f .git/signing.pub ]; then gpg --import .git/signing.pub && rm .git/signing.pub; fi",
|
||||
"postStartCommand": "if [ -f .git/signing.pub ]; then gpg --import .git/signing.pub; fi",
|
||||
|
||||
"runArgs": ["--cap-drop=ALL", "--security-opt=no-new-privileges:true", "--pids-limit=512"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user