Skip to content
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

Improve entrypoint INHERIT doc for Maven #2434

Merged
merged 3 commits into from
Apr 28, 2020
Merged

Conversation

chanseokoh
Copy link
Member

Fixes #2433.

OTOH, Gradle is OK and can take both jib.container.entrypoint = 'INHERIT' and jib.container.entrypoint = [ 'INHERIT' ];

@TadCordle
Copy link
Contributor

I wonder if this shows up anywhere else in our docs or examples; I could have sworn maven allowed skipping the inner tags for single-element lists.

@chanseokoh
Copy link
Member Author

Huh, if that's the case, it's worth looking into this further.

@chanseokoh
Copy link
Member Author

Yeah, <entrypoint>INHERIT</entrypoint> works for me. It may just be that old Maven versions have trouble with it.

@chanseokoh
Copy link
Member Author

Confirmed. Maven 3.2.5 gives the error in #2433. Let me update the PR.

@loosebazooka
Copy link
Member

hrmm... we end up suggesting a less user friendly option for maven users on the latest maven though?

@chanseokoh chanseokoh changed the title Fix wrong entrypoint INHERIT doc Improve entrypoint INHERIT doc for Maven Apr 28, 2020
@chanseokoh
Copy link
Member Author

@loosebazooka updated the doc. What do you think?

@TadCordle
Copy link
Contributor

I'm not sure about dummy, maybe go with entry or token or something?

@loosebazooka
Copy link
Member

I like <entry> as well

@chanseokoh chanseokoh merged commit 8da0ee3 into master Apr 28, 2020
@chanseokoh chanseokoh deleted the i2433-maven-entrypoint-doc branch April 28, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maven plugin : improve the doc for container entrypoint INHERIT configuration
4 participants