github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/tracing/jaeger/java/rideshare/Dockerfile (about)

     1  FROM openjdk:11-slim-bullseye
     2  
     3  WORKDIR /opt/app
     4  
     5  COPY gradlew .
     6  COPY gradle gradle
     7  RUN ./gradlew --no-daemon
     8  
     9  COPY build.gradle.kts settings.gradle.kts  ./
    10  RUN ./gradlew getDeps --no-daemon
    11  
    12  COPY src src
    13  RUN ./gradlew assemble --no-daemon
    14  
    15  
    16  CMD ["java",  "-jar", "./build/libs/rideshare-manual-1.0-SNAPSHOT.jar"]