summaryrefslogtreecommitdiff
path: root/src/main/docker
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-02 19:06:54 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-02 19:11:34 +0100
commitc52eb74574835eae5f3c4574065da661bde721d7 (patch)
treef7d65105d3da999396cb560702a50fe74672f6c9 /src/main/docker
parent02e10f1b1602e1b15064b7a511783c8bdec42c94 (diff)
Add Dockerfile for remote development mode.
Change-Id: Ica13917f0fbb3fedbb7bebed7a3995803baa06c4
Diffstat (limited to 'src/main/docker')
-rw-r--r--src/main/docker/Dockerfile.dev17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/docker/Dockerfile.dev b/src/main/docker/Dockerfile.dev
new file mode 100644
index 0000000..5560f64
--- /dev/null
+++ b/src/main/docker/Dockerfile.dev
@@ -0,0 +1,17 @@
+FROM gradle:6.1-jdk13
+
+EXPOSE 8080
+USER gradle
+
+COPY --chown=gradle:gradle build.gradle gradle.properties settings.gradle /src/
+
+WORKDIR /src
+RUN gradle --no-daemon dependencies
+
+COPY --chown=gradle:gradle src /src/src
+RUN gradle --no-daemon assemble -PskipWeb -PskipDocker
+
+ENV JAVA_TOOL_OPTIONS "-XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact"
+#ENV GRADLE_OPTS "-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
+
+ENTRYPOINT ["gradle", "quarkusDev"]