This repository hosts part of the container images used by Eclipse JKube.
These images are available on Quay.io
- https://quay.io/repository/jkube/jkube-java
- https://quay.io/repository/jkube/jkube-java-17
- https://quay.io/repository/jkube/jkube-java-11
Base image to be used by any JavaExecGenerator implementation. The image is based on
ubi9/ubi-minimal
(catalog.redhat.com)
with stripped down dependencies to make it lighter.
The image contains the run-java.sh script added by
jboss.container.java.run.bash
module.
Available environment variables for runtime configuration:
JAVA_APP_DIRThe directory where the application resides. All paths in your application are relative to this directory.JAVA_LIB_DIRDirectory holding the Java jar files as well an optionalclasspathfile which holds the classpath. Either as a single line classpath (colon separated) or with jar files listed line-by-line. If not set JAVA_LIB_DIR is the same asJAVA_APP_DIR.JAVA_OPTIONSJVM options passed to thejavacommand. UseJAVA_OPTIONS.JAVA_OPTSJVM options passed to thejavacommand.
JAVA_INITIAL_MEM_RATIOIs used when no-Xmsoption is given inJAVA_OPTIONS. This is used to calculate a default initial heap memory based on the maximum heap memory. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then-Xmsis set to a ratio of the-Xmxmemory as set here. The default is25which means 25% of the-Xmxis used as the initial heap size. You can skip this mechanism by setting this value to0in which case no-Xmsoption is added.JAVA_MAX_MEM_RATIOIs used when no-Xmxoption is given inJAVA_OPTIONS. This is used to calculate a default maximal heap memory based on a containers restriction. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then-Xmxis set to a ratio of the container available memory as set here. The default is50which means 50% of the available memory is used as an upper boundary. You can skip this mechanism by setting this value to0in which case no-Xmxoption is added.JAVA_DIAGNOSTICSSet this to get some diagnostics information to standard output when things are happening. Disabled by default.JAVA_MAIN_CLASSA main class to use as argument forjava. When this environment variable is given, all jar files inJAVA_APP_DIRare added to the classpath as well asJAVA_LIB_DIR.JAVA_APP_JARA jar file with an appropriate manifest so that it can be started withjava -jarif no$JAVA_MAIN_CLASSis set. In all cases this jar file is added to the classpath, too.JAVA_APP_NAMEName to use for the process.JAVA_CLASSPATHThe classpath to use. If not given, the startup script checks for a file**JAVA_APP_DIR/classpath**and use its content literally as classpath. If this file doesn't exist all jars in the app dir are added (classes:**JAVA_APP_DIR/***).JAVA_DEBUGIf set remote debugging will be switched on. Disabled by default.JAVA_DEBUG_SUSPENDIf set enables suspend mode in remote debuggingJAVA_DEBUG_PORTPort used for remote debugging. Defaults to 5005.HTTP_PROXYThe location of the http proxy. This takes precedence overhttp_proxy, and will be used for both Maven builds and Java runtime.HTTPS_PROXYThe location of the https proxy. This takes precedence overhttp_proxyandHTTP_PROXY,- and will be used for both Maven builds and Java runtime.
no_proxy/NO_PROXYA comma separated lists of hosts, IP addresses or domains that can be accessed directly. This will be used for both Maven builds and Java runtime.AB_PROMETHEUS_OFFDisables the use of Prometheus Java Agent.AB_PROMETHEUS_PORTPort to use for the Prometheus JMX Exporter.
https://quay.io/repository/jkube/jkube-remote-dev
Base image to be used by Eclipse JKube's remote development service.
https://quay.io/repository/jkube/jkube-tomcat
Base image to be used by any WebAppGenerator & TomcatAppSeverHandler implementation.
https://quay.io/repository/jkube/jkube-tomcat9
Base image to be used by any WebAppGenerator & TomcatAppSeverHandler implementation relying on Tomcat 9.
https://quay.io/repository/jkube/jkube-jetty9
Base image to be used by any WebAppGenerator & JettyAppSeverHandler implementation.
https://quay.io/repository/jkube/jkube-karaf
Base image to be used by KarafGenerator.