#21071·pulsar

[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:

bash
mvn clean install -DskipTests
mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTests

failes 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:

bash
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!