Matthias Andreas Benkard | c52eb74 | 2020-02-02 19:06:54 +0100 | [diff] [blame] | 1 | FROM gradle:6.1-jdk13 |
| 2 | |
| 3 | EXPOSE 8080 |
| 4 | USER gradle |
| 5 | |
| 6 | COPY --chown=gradle:gradle build.gradle gradle.properties settings.gradle /src/ |
| 7 | |
| 8 | WORKDIR /src |
| 9 | RUN gradle --no-daemon dependencies |
| 10 | |
| 11 | COPY --chown=gradle:gradle src /src/src |
| 12 | RUN gradle --no-daemon assemble -PskipWeb -PskipDocker |
| 13 | |
| 14 | ENV JAVA_TOOL_OPTIONS "-XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact" |
| 15 | #ENV GRADLE_OPTS "-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" |
| 16 | |
| 17 | ENTRYPOINT ["gradle", "quarkusDev"] |