mingyen066 opened a new pull request, #23563:
URL: https://github.com/apache/kafka/pull/23563
Since #22054 and #23263 the jvm Dockerfile declares `ARG kafka_url=""`, but
`prepare_docker_official_image_source.py` only replaces the `ARG kafka_url`
prefix, so the generated Docker Official Image source ends up with
ENV kafka_url
https://archive.apache.org/dist/kafka/4.1.0/kafka_2.13-4.1.0.tgz=""
and `docker_official_image_build_test.py` fails with a 404 from wget.
Changes:
- Replace the whole `ARG <name>[=<default>]` line with `ENV <name> <value>`
using a line-anchored regex, so any default value is dropped.
- Fail the script if an expected `ARG` line is missing instead of silently
generating a broken Dockerfile.
Reported by Maroš Orsák.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]