You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/faq.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -901,7 +901,7 @@ The `war` command currently supports containerization of standard WARs. It uses
901
901
* Resources Layer
902
902
* Classes Layer
903
903
904
-
The default entrypoint when using a jetty base image will be `java -jar /usr/local/jetty/start.jar` unless you choose to specify a custom one.
904
+
The default entrypoint when using a jetty base image will be `java -jar /usr/local/jetty/start.jar --module=ee10-deploy` unless you choose to specify a custom one.
905
905
906
906
You can use a different Servlet engine base image with the help of the `--from` option and customize `--app-root`, `--entrypoint` and `--program-args`. If you don't set the `entrypoint` or `program-arguments`, Jib will inherit them from the base image. However, setting the `--app-root` is **required** if you use a non-jetty base image. Here is how the `war` command may look if you're using a Tomcat image:
Copy file name to clipboardexpand all lines: jib-cli/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ This command follows the following pattern:
190
190
191
191
## Quickstart
192
192
193
-
1. Have your sample WAR ready and use the `war`command to containerize your WAR. By default, the WAR command uses [`jetty`](https://hub.docker.com/_/jetty) as the base image so the entrypoint is set to `java -jar /usr/local/jetty/start.jar`:
193
+
1. Have your sample WAR ready and use the `war`command to containerize your WAR. By default, the WAR command uses [`jetty`](https://hub.docker.com/_/jetty) as the base image so the entrypoint is set to `java -jar /usr/local/jetty/start.jar --module=ee10-deploy`:
194
194
```
195
195
$ jib war --target=docker://cli-war-quickstart <your-sample>.war
Copy file name to clipboardexpand all lines: jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java
Copy file name to clipboardexpand all lines: jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessorTest.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -474,7 +474,7 @@ public void testEntrypoint_defaultWarPackaging()
0 commit comments