You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set ENTRYPOINT to empty array, skaffold parses it correctly and the image is built without entrypoint (removing entrypoint from parent image).
FROM someimage
ENTRYPOINT []
Actual behavior
When checking cache, the following error is thrown:
getting hash for artifact "<IMAGE>": getting dependencies for "<IMAGE>": parsing dockerfile "<PATH>/Dockerfile": dockerfile parse error line 12: ENTRYPOINT requires at least one argument
@sbienkow-ninja thanks for the issue. this looks like an issue with moby/buildkit, which we're using to validate Dockerfiles before parsing them as part of our cache check. I opened moby/buildkit#2436 - if/when that gets fixed we'll pick up the patch for the following skaffold release.
Expected behavior
When I set ENTRYPOINT to empty array, skaffold parses it correctly and the image is built without entrypoint (removing entrypoint from parent image).
Actual behavior
When checking cache, the following error is thrown:
Information
Steps to reproduce the behavior
skaffold build
The text was updated successfully, but these errors were encountered: