File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,13 @@ COPY --chown=${STACKABLE_USER_UID}:0 kafka/stackable/patches/${PRODUCT_VERSION}
2121COPY --chown=${STACKABLE_USER_UID}:0 --from=patched-reload4j /stackable/.m2/repository /stackable/patched-reload4j-libs
2222
2323RUN <<EOF
24- mkdir -p /stackable/.m2/repository
25- cp -r /stackable/patched-reload4j-libs/* /stackable/.m2/repository
24+ # TODO: remove this later.
25+ # reload4j jars are only needed of Kafka 3.x
26+ case "${PRODUCT_VERSION}" in
27+ 3*)
28+ mkdir -p /stackable/.m2/repository
29+ cp -r /stackable/patched-reload4j-libs/* /stackable/.m2/repository
30+ esac
2631
2732cd "$(/stackable/patchable --images-repo-root=src checkout kafka ${PRODUCT_VERSION})"
2833
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ java-base = "23"
2525java-devel = " 23"
2626"kafka/kcat" = " 1.7.0"
2727"kafka/kafka-opa-plugin" = " 1.5.1"
28+ # TODO: this is not used in this version but it's added
29+ # to avoid major changes to the Kafka image build on short notice.
30+ # Building this image is quick and in CI should not even be noticed.
31+ "shared/reload4j" = " 1.2.25"
2832
2933[versions ."4 .1 .0" .build-arguments ]
3034scala-version = " 2.13"
You can’t perform that action at this time.
0 commit comments