File tree Expand file tree Collapse file tree
jib-gradle-plugin/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ The CLI tool is powered by [Jib Core](https://github.com/GoogleContainerTools/ji
2828 * [ Download a Java Application] ( #download-a-java-application )
2929 * [ Windows: Install with ` choco ` ] ( #windows-install-with-choco )
3030 * [ Build Yourself from Source (for Advanced Users)] ( #build-yourself-from-source-for-advanced-users )
31+ * [ Jib CLI JVM options] ( #jib-cli-jvm-options )
3132* [ Supported Commands] ( #supported-commands )
3233* [ Build Command] ( #build-command )
3334 * [ Quickstart] ( #quickstart )
@@ -88,6 +89,12 @@ $ ./gradlew jib-cli:installDist
8889$ ./jib-cli/build/install/jib/bin/jib
8990```
9091
92+ ## Jib CLI JVM options
93+
94+ Jib CLI is a Java application built with the [ Gradle application plugin] ( https://docs.gradle.org/current/userguide/application_plugin.html ) .
95+ To configure JVM options for the Jib CLI process itself, you can use the ` JIB_OPTS ` or ` JAVA_OPTS ` environment variables.
96+ This is commonly used to configure settings like a proxy by passing standard Java networking properties, as described in the [ proxy configuration FAQ] ( ../docs/faq.md#how-do-i-configure-a-proxy ) .
97+
9198## Supported Commands
9299
93100The Jib CLI supports two commands:
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ versionString="{\"latest\":\"$1\"}"
2828destination=" gs://jib-versions/jib-cli"
2929
3030echo $versionString > jib-cli-temp
31- gsutil cp jib-cli-temp $destination
32- gsutil acl ch -u allUsers: READ $destination
31+ gcloud storage cp jib-cli-temp $destination
32+ gcloud storage objects update --add-acl-grant= allUsers= READ $destination
3333rm jib-cli-temp
3434
3535gcsResult=$( curl https://storage.googleapis.com/jib-versions/jib-cli)
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ versionString="{\"latest\":\"$1\"}"
2828destination=" gs://jib-versions/jib-gradle"
2929
3030echo $versionString > jib-gradle
31- gsutil cp jib-gradle $destination
32- gsutil acl ch -u allUsers:READ $destination
31+ gcloud storage cp jib-gradle $destination
32+ gcloud storage objects update --add-acl-grant= allUsers:READ $destination
3333rm jib-gradle
3434
3535gcsResult=$( curl https://storage.googleapis.com/jib-versions/jib-gradle)
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ versionString="{\"latest\":\"$1\"}"
2828destination=" gs://jib-versions/jib-maven"
2929
3030echo $versionString > jib-maven
31- gsutil cp jib-maven $destination
32- gsutil acl ch -u allUsers:READ $destination
31+ gcloud storage cp jib-maven $destination
32+ gcloud storage objects update --add-acl-grant= allUsers:READ $destination
3333rm jib-maven
3434
3535gcsResult=$( curl https://storage.googleapis.com/jib-versions/jib-maven)
You can’t perform that action at this time.
0 commit comments