diff --git a/coredns/1.7.0/21.09/Dockerfile b/coredns/1.7.0/21.09/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..8c89ebc6601a9682219e576b274b208687150caa --- /dev/null +++ b/coredns/1.7.0/21.09/Dockerfile @@ -0,0 +1,7 @@ +FROM openeuler/openeuler:21.09 + +RUN yum -y update && yum clean all +RUN yum -y install coredns ca-certificates && yum clean all + +EXPOSE 53 53/udp +ENTRYPOINT ["/sbin/coredns"] diff --git a/coredns/README.md b/coredns/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0fac502c0344344565b8e915a0f0e0c5f751934d --- /dev/null +++ b/coredns/README.md @@ -0,0 +1,31 @@ +# CoreDNS + +# Quick reference + +- The official CoreDNS docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +# Build reference + +1. Build images and push: +```shell +docker buildx build -t "openeuler/coredns:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +2. Run: +```shell +docker run -ti openeuler/coredns:1.7.0-21.09 +``` + +# Supported tags and respective Dockerfile links + +- 1.7.0-21.09: coredns v1.7.0, openEuler 21.09 + +## Operating System +Linux/Unix, ARM64 or x86-64 architecture. +