Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
/ jacoco-agent-docker Public archive

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

Notifications You must be signed in to change notification settings

ICTU/jacoco-agent-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

jacoco-agent-docker

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

Usage (docker-compose example jboss/wildfly)

version: '3.8'
services:
  jacoco:
    image: ictu/jacoco-agent-docker:0.8.8
    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: ictu/jacoco-agent-docker:0.8.8
    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: ictu/jacoco-agent-docker:0.8.8
    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