Skip to content

Commit c84ad59

Browse files
committed
fix: place SBOM files closer to the application they are for
1 parent 282f9fd commit c84ad59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airflow/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jq '.dependencies |= map(if .ref | test("^apache-airflow-providers-") then
6464
.dependsOn |= map(select(. != "apache-airflow==${PRODUCT}"))
6565
else
6666
.
67-
end)' /tmp/sbom.json > /stackable/airflow-${PRODUCT}.cdx.json
67+
end)' /tmp/sbom.json > /stackable/app/airflow-${PRODUCT}.cdx.json
6868

6969
rm /tmp/sbom.json
7070
EOF

kafka/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ COPY --chown=stackable:stackable kafka/licenses /licenses
102102
# We copy opa-authorizer.jar and jmx-exporter through the builder image to have an absolutely minimal final image
103103
# (e.g. we don't even need curl in it).
104104
COPY --chown=stackable:stackable --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT} /stackable/kafka_${SCALA}-${PRODUCT}
105-
COPY --chown=stackable:stackable --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT}.cdx.json /stackable/kafka_${SCALA}-${PRODUCT}.cdx.json
105+
COPY --chown=stackable:stackable --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT}.cdx.json /stackable/kafka_${SCALA}-${PRODUCT}/kafka_${SCALA}-${PRODUCT}.cdx.json
106106
COPY --chown=stackable:stackable --from=kafka-builder /stackable/jmx/ /stackable/jmx/
107107
COPY --chown=stackable:stackable --from=kcat /stackable/kcat-${KCAT}/kcat /stackable/bin/kcat-${KCAT}
108108
COPY --chown=stackable:stackable --from=kcat /licenses /licenses

0 commit comments

Comments
 (0)