Image Current Enrtypoint Not Functional on Distroless Image
Summary
The current Dockerfile is set to use /bin/sh as the command to kick off the binary. This was functional when based on UBI9 but when the image was swapped to distroless and the upstream pull source was changed the current Dockerfile was not updated correctly.
Steps to reproduce
Try to execute a docker run on the image.
What is the current bug behavior?
Docker run command returns
(docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown.)
What is the expected correct behavior?
The image should try to run the Binary.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
Updating the entrypoint to the binary itself should fix the issue.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info