diff --git a/Cloud/coredns/1.12.4/24.03-lts-sp2/Dockerfile b/Cloud/coredns/1.12.4/24.03-lts-sp2/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..84b7e09fad1f1cf52346e19a8168f1c95bccdc0c --- /dev/null +++ b/Cloud/coredns/1.12.4/24.03-lts-sp2/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} +ARG VERSION=1.12.4 +ARG TARGETARCH + +RUN dnf update -y \ + && dnf install -y wget \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /usr/local/coredns + +RUN wget https://github.com/coredns/coredns/releases/download/v${VERSION}/coredns_${VERSION}_linux_${TARGETARCH}.tgz \ + && tar -zxvf coredns_${VERSION}_linux_${TARGETARCH}.tgz \ + && rm -f coredns_${VERSION}_linux_${TARGETARCH}.tgz + +WORKDIR /usr/local/coredns + +CMD ["./coredns", "--help"] \ No newline at end of file diff --git a/Cloud/coredns/README.md b/Cloud/coredns/README.md index b90c16e13bcce36af5c409c26e3851a6c6782d38..63e6cf8d7858748b7c830660469828ea005ebf6b 100644 --- a/Cloud/coredns/README.md +++ b/Cloud/coredns/README.md @@ -18,6 +18,7 @@ The tag of each `coredns` docker image is consist of the version of `coredns` an | Tag | Currently | Architectures | |-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +|[1.12.4-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/coredns/1.12.4/24.03-lts-sp2/Dockerfile) | coredns 1.12.4 on openEuler 24.03-LTS-SP2 | amd64, arm64 | | [1.12.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/coredns/1.12.1/24.03-lts-sp1/Dockerfile) | CoreDNS 1.12.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Cloud/coredns/doc/image-info.yml b/Cloud/coredns/doc/image-info.yml index 2e9bbe98f9c8435b3639262005d0eefc5bc800e8..62d0693c3908de421fc24eed7a29ac369dd4c3ea 100644 --- a/Cloud/coredns/doc/image-info.yml +++ b/Cloud/coredns/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[1.12.4-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/coredns/1.12.4/24.03-lts-sp2/Dockerfile) | coredns 1.12.4 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.12.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/coredns/1.12.1/24.03-lts-sp1/Dockerfile)| CoreDNS 1.12.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Cloud/coredns/meta.yml b/Cloud/coredns/meta.yml index 2aebbd9ecd562cbbcb254a58be9654ccb4481f75..5e3b48c178d3d63ea43a29b98ec0a3f424ab04cb 100644 --- a/Cloud/coredns/meta.yml +++ b/Cloud/coredns/meta.yml @@ -1,4 +1,6 @@ 1.12.1-oe2403sp1: path: 1.12.1/24.03-lts-sp1/Dockerfile 1.12.3-oe2403sp1: - path: 1.12.3/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 1.12.3/24.03-lts-sp1/Dockerfile +1.12.4-oe2403sp2: + path: 1.12.4/24.03-lts-sp2/Dockerfile \ No newline at end of file