Skip to content

Image containing the jacoco javaagent to use as a volume container.

Notifications You must be signed in to change notification settings

infovista-opensource/jacoco-agent-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

jacoco-agent-docker

Image containing the jacoco instrumentation agent to use as a volume container.

Usage (docker-compose example jboss/wildfly)

version: '3.8'
services:
  jacoco:
    image: ghcr.io/infovista-opensource/jacoco-agent-docker:0.8.11
    volumes:
       - jacoco:/jacoco:ro
  www:
    environment:
      JAVA_TOOL_OPTIONS: -javaagent:/jacoco/lib/jacocoagent.jar=excludes=*_javassit_*:javax.xml.soap.*:oasis.*,output=tcpserver,address=*
    image: jboss/wildfly
    volumes:
       - jacoco:/jacoco:ro
volumes:
  jacoco:

Usage (docker-compose example payara/server-full)

version: '3.8'
services:
  jacoco:
    image: ghcr.io/infovista-opensource/jacoco-agent-docker:0.8.11
    volumes:
      - jacoco:/jacoco:ro
  www:
    environment:
      JVM_ARGS: -javaagent:/jacoco/lib/jacocoagent.jar=excludes=*_javassit_*:javax.xml.soap.*:oasis.*,output=tcpserver,address=*
    image: payara/server-full:5.2020.6-jdk11
    ports:
      - "8080:8080"
      - "4848:4848"
    volumes:
      - jacoco:/jacoco:ro
volumes:
  jacoco:

Usage (docker-compose example payara/server-full from Dockerfile)

version: '3.8'
services:
  jacoco:
    image: ghcr.io/infovista-opensource/jacoco-agent-docker:0.8.11
    volumes:
      - jacoco:/jacoco:ro
  www:
    environment:
      JVM_ARGS: -javaagent:/jacoco/lib/jacocoagent.jar=excludes=*_javassit_*:javax.xml.soap.*:oasis.*,output=tcpserver,address=*
    build: .
    ports:
      - "8080:8080"
      - "4848:4848"
    volumes:
      - jacoco:/jacoco:ro
volumes:
  jacoco:

About

Image containing the jacoco javaagent to use as a volume container.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%