Skip to content

Commit

Permalink
Make the docker example narrower
Browse files Browse the repository at this point in the history
  • Loading branch information
viesti committed Jun 28, 2020
1 parent 5c5dae9 commit 9a477f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ For example, to deploy to Google Container Registry, first perform link:https://

[source]
----
clj -A:pack mach.pack.alpha.jib --image-name eu.gcr.io/my-example-project/my-app:1234 --image-type registry -m my.main
clj -A:pack mach.pack.alpha.jib \
--image-name eu.gcr.io/my-example-project/my-app:1234 \
--image-type registry \
-m my.main
----

In order to pass Java system properties to the running container, `JAVA_TOOL_OPTIONS` environment variable can be used. See example in link:https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#jvm-flags[Jib FAQ].

0 comments on commit 9a477f9

Please sign in to comment.