callistaenterprise / blog-microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing -Dspring.profiles.active=docker in Dockerfile for Config server?

binakot opened this issue · comments

Hi there.

I see -Dspring.profiles.active=docker in Dockerfile for Config server in branch B8 and blog part 6.

ENTRYPOINT ["java","-Dspring.profiles.active=docker","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

But there is no this option in master branch.

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

Is it a bug? Or why did you do it?
Thanks.