nodece opened a new pull request, #20462:
URL: https://github.com/apache/pulsar/pull/20462
Fix #20420, #19544
### Motivation
This PR addresses the following issues:
1. Fix the errors that arise when using custom `docker.organization`,
because we use hard-coded images in the Dockerfile, which always pulls images
from the `apachepulsar` organization.
2. When publishing the older versions of Pulsar, the `latest` tag will be
broken: #19544.
### Modifications
- Use the dynamic base image in the Dockerfile by the `ARG`.
- Use the Maven property to set the latest image, default to
`${project.version}` instead of `latest`, if you want to build the `latest`
tag, please add `-Dpulsar.latest.image.tag=latest` to `mvn` command.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [x] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [ ] Update the release doc and script
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
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]