From 4b9ee68d1cdabeb42eb46d83e752107efcff1bba Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Fri, 17 Apr 2026 11:42:17 +0200 Subject: [PATCH 1/2] fix(vector): Use relative path to patchable checked out source Fixes this error: ``` find: '/src/': No such file or directory ``` Because fot this build, WORKDIR is /stackable (so patchable checked out src/ is below that) --- vector/copy_artifacts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vector/copy_artifacts.sh b/vector/copy_artifacts.sh index 8d3e54465..72e08eccd 100755 --- a/vector/copy_artifacts.sh +++ b/vector/copy_artifacts.sh @@ -6,5 +6,7 @@ cp "$1" /app # And now try to find a BOM file named like the binary + _bin.cdx.xml and copy it over as well if it exists +# Using `patchable with --images-repo-root=src` makes the path `/stackable/src/vector/patchable-work/worktree/0.52.0` +# assuming WORKDIR was `/stackable`. base=$(basename "$1") -find /src/ -type f -name "${base}_bin.cdx.xml" -exec cp {} /app \; +find ./src/ -type f -name "${base}_bin.cdx.xml" -exec cp {} /app \; From 610146e4bea284a59e3060fc04f2a9a892bda063 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Fri, 17 Apr 2026 11:44:01 +0200 Subject: [PATCH 2/2] chore: Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15f5ee041..93d16e717 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file. - trino: Backport fix for wrong deletes in Delta Lake ([#1453]). - opensearch: Scope CycloneDX SBOM to shipped components only, eliminating false positive CVEs from unshipped plugins ([#1452]). +- vector: Look for SBOM in correct location ([#1471]). [#1446]: https://github.com/stackabletech/docker-images/pull/1446 [#1452]: https://github.com/stackabletech/docker-images/pull/1452 @@ -24,6 +25,7 @@ All notable changes to this project will be documented in this file. [#1454]: https://github.com/stackabletech/docker-images/pull/1454 [#1463]: https://github.com/stackabletech/docker-images/pull/1463 [#1466]: https://github.com/stackabletech/docker-images/pull/1466 +[#1471]: https://github.com/stackabletech/docker-images/pull/1471 ## [26.3.0] - 2026-03-16