lightbend / kalix-jvm-sdk

Java and Scala SDKs for Kalix
https://docs.kalix.io/java/index.html
Other
58 stars 39 forks source link

Scala EventSourced customer-registry deploy problems #682

Open johanandren opened 2 years ago

johanandren commented 2 years ago

Seeing

Error: failed to start container "user-function": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/opt/docker/bin/customer-registry": stat /opt/docker/bin/customer-registry: no such file or directory: unknown

While the scala-valuerentity-customer-registry build.sbt and generated docker stuff under target/ etc looks pretty much identical but successfully deploys. Could perhaps be something with the env rather?

johanandren commented 2 years ago

Generated docker file says ENTRYPOINT ["/opt/docker/bin/customer-registry"] but staged image contents contain bin/main rather. Where does that expected entry point name come from?