blob: 5560f64a510c502a05a94f4881de0a7fec1400f5 [file] [log] [blame]
Matthias Andreas Benkardc52eb742020-02-02 19:06:54 +01001FROM gradle:6.1-jdk13
2
3EXPOSE 8080
4USER gradle
5
6COPY --chown=gradle:gradle build.gradle gradle.properties settings.gradle /src/
7
8WORKDIR /src
9RUN gradle --no-daemon dependencies
10
11COPY --chown=gradle:gradle src /src/src
12RUN gradle --no-daemon assemble -PskipWeb -PskipDocker
13
14ENV 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
17ENTRYPOINT ["gradle", "quarkusDev"]