close

Filter

loading table of contents...

Deployment Manual / Version 2406.1

Table Of Contents
The java-application-base Configuration
<configuration>
  <container>
    <entrypoint>INHERIT</entrypoint> 1
    <args>
      <arg>application</arg> 2
    </args>
    <user>coremedia:coremedia</user> 3
    <environment> 4
      <JAVA_HEAP>256m</JAVA_HEAP>
      <JAVA_PARALLEL_GC>true</JAVA_PARALLEL_GC>
      <SPRING_BOOT_EXPLODED_MAINCLASS>@jib-main-class-file</SPRING_BOOT_EXPLODED_MAINCLASS> 5
      <SPRING_BOOT_EXPLODED_CLASSPATH>@jib-classpath-file</SPRING_BOOT_EXPLODED_CLASSPATH> 6
    </environment>
    <ports>
      <port>8080</port>
      <port>8081</port>
    </ports>
  </container>
</configuration>

1

With this directive, we tell Jib to inherit the entrypoint information from the base image. In this case it is /coremedia/entrypoint.sh.

2

The argument to the entrypoint script. The application script encapsulates the startup logic. Visit the DockerHub page of the coremedia/java-application-base image for more details.

3

The user to start the application. With this base image, we need to use the coremedia user to start the application.

4

The environment variables the application entrypoint chain script can be configured.

5

The application starter class we defined in the properties section above.

6

The classloader classpath. This mimics the classloading, the Spring-Boot Jib extension automatically sets.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.