kalix-jvm-sdk icon indicating copy to clipboard operation
kalix-jvm-sdk copied to clipboard

Scala EventSourced customer-registry deploy problems

Open johanandren opened this issue 4 years ago • 1 comments

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 avatar Nov 09 '21 11:11 johanandren

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?

johanandren avatar Nov 09 '21 14:11 johanandren