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

Jib CLI proxy usage not documented #4231

Open
scrat98 opened this issue Apr 1, 2024 · 0 comments
Open

Jib CLI proxy usage not documented #4231

scrat98 opened this issue Apr 1, 2024 · 0 comments

Comments

@scrat98
Copy link

scrat98 commented Apr 1, 2024

There is no documentation that we can configure JVM options (You can also use JAVA_OPTS and JIB_OPTS to pass JVM options) for jib cli. That's needed when we want to configure proxy that will be used by jib-core under the hood. But as soon there is a plan to make jib cli native executable it will be better to add proxy options as a cli parameters.

Configure http proxy to use by jib cli:

  JIB_OPTS: >-
    -Dhttp.proxyHost=$PROXY_HOST
    -Dhttp.proxyPort=$PROXY_PORT
    -Dhttps.proxyHost=$PROXY_HOST
    -Dhttps.proxyPort=$PROXY_PORT
    -Dhttp.nonProxyHosts=$NO_PROXY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants