Skip to content

Commit

Permalink
create symlink to /usr/share/java/kafka to fix entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: Furkan Türkal <[email protected]>
  • Loading branch information
Dentrax committed Mar 20, 2024
1 parent b9deb82 commit 2559281
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions confluent-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ pipeline:
install -D -m755 "$file" ${{targets.destdir}}/usr/bin/"$filename"
done
# Create a symlink for the kafka libs since upstream images expect it to be in /usr/share/java/kafka:
# https://github.com/confluentinc/kafka/blob/b66558da5d6b33c2fba9f424131575b948e6f611/bin/kafka-run-class.sh#L197
mkdir -p ${{targets.destdir}}/usr/share/java/kafka
ln -sf ${{targets.destdir}}/usr/lib/kafka/libs ${{targets.destdir}}/usr/share/java/kafka
# Clean up windows
rm -rf ${{targets.destdir}}/usr/lib/kafka/bin/*.bat
Expand Down

0 comments on commit 2559281

Please sign in to comment.