openeuler/distroless-ccThe official distroless-cc docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
This image contains a minimal Linux, glibc runtime for "mostly-statically compiled" languages like Rust and C/C++.
Specifically, the image contains everything in the openeuler/distroless-base image, plus:
libstdc++
and its dependency:
libgcc
The tag of each distroless-cc docker image is consist of the version of libstdc++ and version of openEuler. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 12.3.1-oe2403lts | libstdc++ and libgcc 12.3.1 on openEuler 24.03-LTS | amd64, arm64 |
Users are expected to include their compiled application and set the correct cmd in their image. For example
# Dockerfile FROM openeuler/openeuler:latest AS build-env COPY . /app WORKDIR /app RUN yum install -y gcc g++ RUN g++ hello.cc -o hello FROM openeuler/distroless-cc:12.3.1-oe2403lts COPY --from=build-env /app /app WORKDIR /app CMD ["./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 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务