summaryrefslogtreecommitdiff
path: root/src/main/docker/Dockerfile.jvm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-18 06:28:00 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-18 06:28:00 +0200
commit23781fb0b73f02621dd5165c1eff6aef86418954 (patch)
tree3c394c1ede52c682abcc5eae4e25b91fc7a72ebf /src/main/docker/Dockerfile.jvm
parentdb48be42c51a6bd48e04f2e5c2dc2c6abd79aec9 (diff)
Remove unused Dockerfiles.
Change-Id: I6a72d73863dbeffb55fe980d81146f21f158105c
Diffstat (limited to 'src/main/docker/Dockerfile.jvm')
-rw-r--r--src/main/docker/Dockerfile.jvm31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/main/docker/Dockerfile.jvm b/src/main/docker/Dockerfile.jvm
deleted file mode 100644
index 3cfb947..0000000
--- a/src/main/docker/Dockerfile.jvm
+++ /dev/null
@@ -1,31 +0,0 @@
-####
-# This Dockerfile is used in order to build a container that runs the Quarkus application in JVM mode
-#
-# Before building the docker image run:
-#
-# mvn package
-#
-# Then, build the image with:
-#
-# docker build -f src/main/docker/Dockerfile.jvm -t docker.benkard.de/mulk/mulkcms2 .
-#
-# Then run the container using:
-#
-# docker run -i --rm -p 8080:8080 docker.benkard.de/mulk/mulkcms2
-#
-###
-FROM adoptopenjdk:14-jre-hotspot
-
-RUN mkdir -p /deployments
-
-RUN useradd --user-group --uid 1200 java \
- && chown -R java /deployments \
- && chmod -R "g+rwX" /deployments \
- && chown -R java:java /deployments
-
-COPY target/lib/* /deployments/lib/
-COPY target/*-runner.jar /deployments/app.jar
-EXPOSE 8080
-
-USER java
-ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseShenandoahGC", "-XX:ShenandoahGCHeuristics=compact", "-Dquarkus.http.host=0.0.0.0", "-Djava.util.logging.manager=org.jboss.logmanager.LogManager", "-jar", "/deployments/app.jar"]