The resulting jar file is always named microservice.jar, which is odd in ps when running 10 different microservices based on this template.
ARG FOO=greeting would be an idea, but it does not work with CMD [...] (as this is runtime). ENV BAR ${FOO} also does not work, as the JSON CMD form does not eval ENV.
The resulting jar file is always named
microservice.jar
, which is odd inps
when running 10 different microservices based on this template.ARG FOO=greeting
would be an idea, but it does not work withCMD [...]
(as this is runtime).ENV BAR ${FOO}
also does not work, as the JSONCMD
form does not eval ENV.