-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow images without entrypoint with -e #112
Conversation
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
- Coverage 45.31% 45.13% -0.18%
==========================================
Files 15 15
Lines 715 720 +5
==========================================
+ Hits 324 325 +1
- Misses 362 366 +4
Partials 29 29
Continue to review full report at Codecov.
|
cmd/install.go
Outdated
if imageInspect.Config.Entrypoint == nil { | ||
return fmt.Errorf("the image '%s' is not compatible with Whalebrew: it does not have an entrypoint", imageName) | ||
if imageInspect.Config.Entrypoint == nil && customEntrypoint == "" { | ||
return fmt.Errorf("The image '%s' does not have an entrypoint, please provide a custom entrypoint", imageName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we inform how to do so?
return fmt.Errorf("The image '%s' does not have an entrypoint, please provide a custom entrypoint", imageName) | |
return fmt.Errorf("The image '%s' does not have an entrypoint, please provide a custom entrypoint adding '--entrypoint my-program'", imageName) |
Awesome contrib! thanks! |
Implemented your suggestion :) |
thanks! va dentro! |
Currently the only way around this is to create yaml file manually.