From what I understand, to rebuild configbaker I have to do a "package" of the whole Dataverse app. Is that right? I ask because it's slow. If I could rebuild just the configbaker image I would.
Yes you can rebuild cb only
Lookup DMP filter. IIRC it's docker.filter or similar
Great!
I tried mvn -Pct clean package -Ddocker.filter="gdcc/configbaker" but it didn't work.
https://dmp.fabric8.io says:
"In order to temporarily restrict the operation of plugin goals this configuration option can be used. Typically this will be set via the system property docker.filter when Maven is called. The value can be a single image name (either its alias or full name) or it can be a comma separated list with multiple image names. Any name which doesnβt refer an image in the configuration will be ignored."
https://stackoverflow.com/questions/74239993/fabric8-docker-maven-plugin-how-to-tag-just-one-image-dockertag isn't very helpful
I just tried mvn -Pct clean package -Ddocker.filter=dev_bootstrap but it's still slow and still builds dataverse-5.14.jar.
Does mvn -Pct docker:run -Ddocker.filter=dev_bootstrap run more than just the configbakery?
And can you try "docker:build" instead of "package"?
Oh wait - "package" obviously will do compilation and packaging of the Java app... That's not really avoidable because these are just the normal Maven steps, triggered by the "package" target
So if you want to avoid compilation etc, you will have to go for "docker:build"
Thanks, I think it's working!!!
mvn -Pct docker:build -Ddocker.filter=dev_bootstrap
As mentioned, go try mvn -Pct docker:build docker:run -Ddocker.filter=dev_bootstrap to build and execute in the same go!
I just tried messing with a script in configbaker (modules/container-configbaker/scripts/bootstrap.sh) as part of #containers > running using compose and the above worked fine!
Before resolving this, we should document it. Or at least add it to a list of things to document.
I just created a PR: https://github.com/IQSS/dataverse/pull/9885
Philip Durbin has marked this topic as resolved.
Last updated: Oct 30 2025 at 05:14 UTC