[
https://issues.apache.org/jira/browse/KAFKA-17246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870735#comment-17870735
]
PoAn Yang commented on KAFKA-17246:
-----------------------------------
Hi [~mimaison], I have an idea for this:
# If `kafka_url` is `local`, we run `./gradlew clean releaseTarGz` to build
local distribution.
# Using python http server module to start a local server to host the file
under `./core/build/distributions`.
# Modify `kafka_url` as `http://127.0.0.1:8000/kafka_2.13-4.0.0-SNAPSHOT.tgz`
(we need to find a way to get scala version and kafka version).
# Follow original path to run build or test.
# Stop python http server.
> Simplify the process of building a test docker image
> ----------------------------------------------------
>
> Key: KAFKA-17246
> URL: https://issues.apache.org/jira/browse/KAFKA-17246
> Project: Kafka
> Issue Type: Improvement
> Reporter: Mickael Maison
> Priority: Major
>
> The docker_build_test.py script requires a URL and a signature file. This
> makes it hard to build a test image locally with a custom Kafka binary.
> It would be nice to have a way to point it to a local distribution artifact
> instead and ignore the signature check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)