Deployment Manual / Version 2406.1
Table Of Contents<configuration> <container> <entrypoint>INHERIT</entrypoint> <args> <arg>application</arg> </args> <user>coremedia:coremedia</user> <environment> <JAVA_HEAP>256m</JAVA_HEAP> <JAVA_PARALLEL_GC>true</JAVA_PARALLEL_GC> <SPRING_BOOT_EXPLODED_MAINCLASS>@jib-main-class-file</SPRING_BOOT_EXPLODED_MAINCLASS> <SPRING_BOOT_EXPLODED_CLASSPATH>@jib-classpath-file</SPRING_BOOT_EXPLODED_CLASSPATH> </environment> <ports> <port>8080</port> <port>8081</port> </ports> </container> </configuration>
With this directive, we tell Jib to inherit the entrypoint information from the base image. In this case it is
| |
The argument to the entrypoint script. The | |
The user to start the application. With this base image, we need to use the | |
The environment variables the | |
The application starter class we defined in the properties section above. | |
The classloader classpath. This mimics the classloading, the Spring-Boot Jib extension automatically sets. |