Links to the 12factor-kube-sample:
- Broker sample is here: https://github.com/ammbra/12factor-kube-broker
- Property sample is here: https://github.com/ammbra/12factor-kube-property
- FED sample is here: https://github.com/ammbra/12factor-kube-fed
| FROM container-registry.oracle.com/java/openjdk:25-oraclelinux9 as builder | |
| ARG MODULES=java.base,java.compiler,java.desktop,java.instrument,java.net.http,java.prefs,java.rmi,java.scripting,java.security.jgss,java.sql.rowset,jdk.jfr,jdk.management,jdk.management.agent,jdk.management.jfr,jdk.jcmd,jdk.net,jdk.unsupported | |
| RUN $JAVA_HOME/bin/jlink \ | |
| --add-modules ${MODULES} \ | |
| --no-man-pages \ | |
| --no-header-files \ | |
| --compress=zip-9 \ | |
| --output /javaruntime |
| Span span = Span.fromContext(Context.current()) | |
| .setAttribute("pause", "start"); |
| Span span = Span.fromContext(Context.current()) | |
| .setAttribute("pause", "start"); |
Links to the 12factor-kube-sample: