Skip to content

Commit 460261a

Browse files
committed
changes
1 parent f20e8a2 commit 460261a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM ubuntu:artful
22
ARG JAR
33
ENV JAR ${JAR}
4-
RUN apt-get update && apt-get install -y openjdk-8-jdk groovy
4+
RUN apt-get update && apt-get install -y openjdk-8-jre-headless
55
ENV TERM xterm
66
RUN mkdir -p /opt/kvdn/{bin,lib}
77
ADD $JAR /opt/kvdn.jar
88
ADD Client /opt/kvdn/lib/Client
99
ADD examples/config /opt/kvdn/config
1010
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
11+
ENTRYPOINT java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -jar /opt/kvdn.jar

0 commit comments

Comments
 (0)