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

Commit

Permalink
Do not override JAVA_OPTS that base image sets, it includes this fl…
Browse files Browse the repository at this point in the history
…ag now
  • Loading branch information
errordeveloper committed Nov 21, 2017
1 parent 3bc598a commit 1db623a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/carts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ LABEL org.label-schema.vendor="Weaveworks" \
org.label-schema.vcs-ref="${COMMIT}" \
org.label-schema.schema-version="1.0"

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

0 comments on commit 1db623a

Please sign in to comment.