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_DIR
The directory where the application resides. All paths in your application are relative to this directory.JAVA_LIB_DIR
Directory holding the Java jar files as well an optionalclasspath
file 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_OPTIONS
JVM options passed to thejava
command. UseJAVA_OPTIONS
.JAVA_OPTS
JVM options passed to thejava
command.
JAVA_INITIAL_MEM_RATIO
Is used when no-Xms
option 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-Xms
is set to a ratio of the-Xmx
memory as set here. The default is25
which means 25% of the-Xmx
is used as the initial heap size. You can skip this mechanism by setting this value to0
in which case no-Xms
option is added.JAVA_MAX_MEM_RATIO
Is used when no-Xmx
option 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-Xmx
is set to a ratio of the container available memory as set here. The default is50
which means 50% of the available memory is used as an upper boundary. You can skip this mechanism by setting this value to0
in which case no-Xmx
option is added.JAVA_DIAGNOSTICS
Set this to get some diagnostics information to standard output when things are happening. Disabled by default.JAVA_MAIN_CLASS
A main class to use as argument forjava
. When this environment variable is given, all jar files inJAVA_APP_DIR
are added to the classpath as well asJAVA_LIB_DIR
.JAVA_APP_JAR
A jar file with an appropriate manifest so that it can be started withjava -jar
if no$JAVA_MAIN_CLASS
is set. In all cases this jar file is added to the classpath, too.JAVA_APP_NAME
Name to use for the process.JAVA_CLASSPATH
The 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_DEBUG
If set remote debugging will be switched on. Disabled by default.JAVA_DEBUG_SUSPEND
If set enables suspend mode in remote debuggingJAVA_DEBUG_PORT
Port used for remote debugging. Defaults to 5005.HTTP_PROXY
The location of the http proxy. This takes precedence overhttp_proxy
, and will be used for both Maven builds and Java runtime.HTTPS_PROXY
The location of the https proxy. This takes precedence overhttp_proxy
andHTTP_PROXY
,- and will be used for both Maven builds and Java runtime.
no_proxy
/NO_PROXY
A 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_OFF
Disables the use of Prometheus Java Agent.AB_PROMETHEUS_PORT
Port 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
.