I need to create my docker container that I generate with my Jhipter application (maven, spring-boot). If I pass parameters dynamically by console, Works correctly:
./mvnw -Pprod -Dspring-boot.run.arguments=--spring.data.mongodb.database="zzasets-0001",spring.data.mongodb.uri="mongodb://192.168.1.136:27017"
On the other hand, creating my docker image makes me perfectly
./mvnw package -Pprod verify jib:dockerBuild
I have the problem when I want to create the docker container with my dynamic parameters. I did not take them and although it does not give error, it does not incorporate it into the image that it creates
./mvnw package -Dspring-boot.run.arguments=--spring.data.mongodb.database="zzasets-prueba",spring.data.mongodb.uri="mongodb://192.168.1.136:27017" verify jib:dockerBuild