Currently my front-end team needs to:
* Generate docker image with mvn spring-boot:build-image
* Look for the image id with docker images
* Rename it with docker image tag <id> <name>
* Run docker-compose up
After all that they can start developing
As you can see it takes quite some time that isn't necessary, if we had an option like mvn spring-boot:build-image -n <name> it would be much faster.
Tell me what you guys think😄
Comment From: wilkinsona
This is already configurable. On the command line you would use -Dspring-boot.build-image.imageName.
Comment From: biel-correa
Thanks @wilkinsona
Comment From: biel-correa
Found out that you can add to pox.xml and stop using a huge command
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<imageName>{{image-name}}</imageName>
</configuration>
</plugin>
</plugins>
</build>