-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Changing base jetty image for WAR: running image fails #3204
Comments
Hi @aanno, I know what's happening. The way we make the default (from #3124)
So I expect you should be able to resolve the issue by specifying <configuration>
...
<container>
<entrypoint>java,-jar,/usr/local/jetty/start.jar</entrypoint>
</container>
</configuration> Maybe we can help this situation by setting this entrypoint automatically if the base image is from the official |
This comment has been minimized.
This comment has been minimized.
Never mind. The error on my project was because my source was based on old Servlet API. I noticed that |
So #3205 documented an example to use I think this issue can be resolved with the documentation. Technically Jib could do more magic to automatically set multiple configurations ( |
Dear @chanseokoh, thank you very much for prompt support! |
Environment:
Description of the issue:
Changing base jetty image for WAR: running image fails
Expected behavior:
Changing base jetty image for WAR: running image should run WAR on jetty
Steps to reproduce:
jib-maven-plugin
Configuration:When using the maven configuration above:
When using the maven configuration above without the from part, everything works as expected.
The text was updated successfully, but these errors were encountered: