Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
switched to the msd-java base image, which allows settings the java o…
Browse files Browse the repository at this point in the history
…ptions via the JAVA_OPTS environment variable
  • Loading branch information
nustiueudinastea committed Mar 3, 2017
1 parent 7dd8d31 commit eb29081
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/queue-master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM java:openjdk-8-alpine
FROM weaveworksdemos/msd-java:latest

WORKDIR /usr/src/app
COPY *.jar ./app.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/urandom","-jar","./app.jar", "--port=80"]
ENV JAVA_OPTS "-Djava.security.egd=file:/dev/urandom"
ENTRYPOINT ["/usr/local/bin/java.sh","-jar","./app.jar", "--port=80"]

0 comments on commit eb29081

Please sign in to comment.