Skip to content

Commit

Permalink
Merge pull request #10837 from qmonmert/dockerfix
Browse files Browse the repository at this point in the history
Fix generated apps: Docker image can't start
  • Loading branch information
murdos authored Sep 14, 2024
2 parents 4ed33cc + ffd9258 commit 3736f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN \

ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
JAVA_OPTS=""
ENTRYPOINT ["sh", "-c", "exec java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /code/*.jar"]
ENTRYPOINT exec java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /code/*.jar
EXPOSE {{serverPort}}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN \

ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
JAVA_OPTS=""
ENTRYPOINT ["sh", "-c", "exec java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /code/*.jar"]
ENTRYPOINT exec java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /code/*.jar
EXPOSE {{serverPort}}

0 comments on commit 3736f88

Please sign in to comment.