>>>>> Steinar Bang <[email protected]>:

> Ah, I think I understand now: there is a convention for naming
> environment variables, so that they can replace any config value?

> I.e. take the config value <someConfigValue>, prefix with
> ORG_APACHE_KARAF_FEATURES_ and uppercase it, ending up with
> ORG_APACHE_KARAF_FEATURES_SOMECONFIGVALUE?

> I will try!

I'm now trying with the following Dockerfile (the sonar-collector is on
maven central):
 https://gist.github.com/steinarb/65225c3a491c0b08a4386778f4c84100

But now I've run into a different problem: I can no longer copy .cfg
files into the etc directory of the karaf inside the image:
 https://gist.github.com/steinarb/71b6135e20dcad10962f4a1702d42663

I tried building an image on top of the karaf 4.2.8 docker image, and
copying .cfg files into the karaf etc/ worked fine there.

Is there a way of accomplishing this with the karaf 4.3.x docker image?

The .cfg file that fails in the copy, is a pax JDBC config file.

Reply via email to