We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20e8a2 commit 460261aCopy full SHA for 460261a
Dockerfile
@@ -1,11 +1,11 @@
1
FROM ubuntu:artful
2
ARG JAR
3
ENV JAR ${JAR}
4
-RUN apt-get update && apt-get install -y openjdk-8-jdk groovy
+RUN apt-get update && apt-get install -y openjdk-8-jre-headless
5
ENV TERM xterm
6
RUN mkdir -p /opt/kvdn/{bin,lib}
7
ADD $JAR /opt/kvdn.jar
8
ADD Client /opt/kvdn/lib/Client
9
ADD examples/config /opt/kvdn/config
10
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk
11
-CMD java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -jar /opt/kvdn.jar
+ENTRYPOINT java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -jar /opt/kvdn.jar
0 commit comments