I have a SOLR image starting with a default configuration when I start my container. I want to change the way SOLR starts in my container by referencing a different configuration file. Of course, I still want to use the original image I had from the beginning.
What is the best practice to do so? If I use a docker file referencing my original image it will start it with the default value as no script has been modified.
I also thought about committing my new configuration file on my image, that works but that still does not change the starting script. Can someone guide me on the best practice to do that? Thanks in advance for your help.