Fix trivy CVE DB downloads in zot LaunchAgent
The LaunchAgent's default PATH (/usr/bin:/bin:/usr/sbin:/sbin) doesn't include /usr/local/bin where docker-credential-desktop lives. Trivy's OCI client reads ~/.docker/config.json which specifies credsStore:desktop, then fails to find the credential helper. Add /usr/local/bin to PATH. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
392aeaf66b
commit
3725d0873f
2 changed files with 6 additions and 1 deletions
|
|
@ -16,6 +16,11 @@
|
|||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||
</dict>
|
||||
<key>StandardOutPath</key>
|
||||
<string>{{ zot_log_dir }}/mcquack.zot.out.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Upgrade zot container registry from v2.1.13 to v2.1.15 (CVE-2025-30204, open redirect fix)
|
||||
Upgrade zot container registry from v2.1.13 to v2.1.15 (CVE-2025-30204, open redirect fix). Fix trivy CVE DB downloads by adding /usr/local/bin to LaunchAgent PATH.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue