Conversation
This explicitly sets the entrypoint for kost to be `/app/kost`. After rolling the change out to our internal systems, it was failing with the following error message: ``` Unable to find image 'grafana/kost:latest' locallylatest: Pulling from internal61a05b: Pulling fs layerec31cd2b3349: Pulling fs layerec31cd2b3349: Verifying Checksumec31cd2b3349: Download complete89320e7119e2: Verifying Checksum89320e7119e2: Download completec9e7f561a05b: Verifying Checksumc9e7f561a05b: Download complete89320e7119e2: Pull completec9e7f561a05b: Pull completeec31cd2b3349: Pull completeDigest: sha256:884a38041601c23cf471fef574e267d16d225f9047d8f3de143dbc770a90726fStatus: Downloaded newer image for grafana/kost:latestdocker: 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: exec: "./kost": stat ./kost: no such file or directory: unknown. ``` After pulling the image locally, I noticed that there was no binary for `kost`.
Duologic
approved these changes
Jan 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After rolling the change out to our internal systems, it was failing with the following error message:
After pulling the image locally, I noticed that there was no binary for
kost.This explicitly sets the entrypoint for kost to be
/app/kostand removesWORKDIR /root.