Skip to content

Commit 58abce7

Browse files
chore(opensearch): Copy licenses to the image
1 parent f1fbda2 commit 58abce7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opensearch/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ COPY \
159159
--from=opensearch-prometheus-exporter \
160160
/stackable/src/opensearch/opensearch-prometheus-exporter/patchable-work/worktree/${OPENSEARCH_OPENSEARCH_PROMETHEUS_EXPORTER_VERSION}/build/reports/bom.json \
161161
/stackable/opensearch-prometheus-exporter-${OPENSEARCH_OPENSEARCH_PROMETHEUS_EXPORTER_VERSION}-stackable${RELEASE_VERSION}.cdx.json
162+
COPY \
163+
--chown=${STACKABLE_USER_UID}:0 \
164+
opensearch/licenses \
165+
/licenses
162166

163167
RUN <<EOF
164168
microdnf update

0 commit comments

Comments
 (0)