[Doc] Docker image build instructions update
Author: michalcukiermanCreated Aug 26, 2023Updated Sep 10, 2026
Labelstype/enhancementdoc-requiredStale
Search before asking
- I searched in the issues and found nothing similar.
What issue do you find in Pulsar docs?
The commands:
mvn clean install -DskipTests
mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTestsfailes due to the fact, that now tagging is done by the maven-docker-plugin. To build the image, the parameter needs to be set first.
What is your suggestion?
Update the command to:
gitrev=$(git rev-parse HEAD | colrm 10)
mvn clean install -DskipTests -Dgit.commit.id.abbrev=${gitrev}
mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTests -Dgit.commit.id.abbrev=${gitrev}Any reference?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
Source: apache/pulsar