openeuler/distroless-jreThe official distroless-jre docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
The Distroless JRE image is a minimal Java runtime environment designed to run Java applications in a secure and lightweight containerized environment.
It includes only what is necessary for executing Java programs and does not contain development tools such as javac.
Contents:
The tag of each distroless-jre docker image is consist of the version of OpenJDK and version of openEuler. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 21.0.2.12-oe2403lts | OpenJDK 21.0.2.12 on openEuler 24.03-LTS | amd64, arm64 |
.class file from the build stage and ets JAVA_HOME and adds the JVM bin directory to PATH for easy execution.FROM openeuler/openeuler:latest AS build-env COPY . /app WORKDIR /app RUN yum install -y java-21-openjdk-devel RUN javac Hello.java FROM openeuler/distroless-jre:21.0.2.12-oe2403lts COPY --from=build-env /app /app WORKDIR /app ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk-21.0.2.12-2.oe2403.aarch64 ENV PATH=$JAVA_HOME/bin:$PATH CMD ["java", "Hello"]
For implementation details, refer to the distroless-base-nonroot documentation.
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务