Hi,

thank you for this line

${env:JDBC_DRIVER_FEATURE:-postgresql} \


So it is be possible to use env directly.

Mike

> On 1. May 2020, at 11:51, Steinar Bang <[email protected]> wrote:
> 
>>>>>> Mike Hummel <[email protected]>:
> 
>> - What currently is missing is a useful docker image supporting 
>> configuration via environment variables, changing user id and supporting 
>> sidecars like filebeat or loki promtail. - I already created a docker image 
>> with features like this. I can contribute it if wanted.
> 
> FWIW configuring a docker image using environment variables wasn't hard
> to do with the existing 4.2.8 official karaf image:
> https://github.com/steinarb/sonar-collector#jdbc-config-that-can-be-set-with-environment-variables
> 
> I did it by using config files expanding environment variables, and let
> the Dockerfile put them in the karaf etc directory:
> https://gist.github.com/steinarb/1e4bddfb54a9da8c3517fd28befe8a0a
> https://gist.github.com/steinarb/efa89d3b2311bc69298c32a315e005aa#file-org-apache-karaf-features-cfg-L33
> https://gist.github.com/steinarb/9bcc2906e34c06d2c9231b1bf2e8bd61
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to