Skip to content

Instantly share code, notes, and snippets.

@steinarb
Created June 20, 2021 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steinarb/65225c3a491c0b08a4386778f4c84100 to your computer and use it in GitHub Desktop.
Save steinarb/65225c3a491c0b08a4386778f4c84100 to your computer and use it in GitHub Desktop.
Dockerfile for creating sonar-collector docker image on top of karaf 4.3.2
FROM apache/karaf:4.3.2
ENV ORG_APACHE_KARAF_FEATURES_FEATURESREPOSITORIES='${featuresRepositories},mvn:no.priv.bang.sonar.sonar-collector/sonar-collector-webhook/LATEST/xml/features'
ENV ORG_APACHE_KARAF_FEATURES_FEATURESBOOT='${featuresBoot},${env:JDBC_DRIVER_FEATURE:-postgresql},sonar-collector-webhook-with-postgresql'
COPY org.ops4j.datasource-sonar-collector.cfg /opt/apache-karaf/etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment