diff --git a/Cloud/coredns/1.12.3/24.03-lts-sp1/Dockerfile b/Cloud/coredns/1.12.3/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..cc215524db4998f730a19922b9d8f43d22f83ce3 --- /dev/null +++ b/Cloud/coredns/1.12.3/24.03-lts-sp1/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=1.12.3 +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/meta.yml b/Cloud/coredns/meta.yml index a23bfe2aa46d999f0b4ddb1005bc2a7abdb35b31..2aebbd9ecd562cbbcb254a58be9654ccb4481f75 100644 --- a/Cloud/coredns/meta.yml +++ b/Cloud/coredns/meta.yml @@ -1,2 +1,4 @@ 1.12.1-oe2403sp1: - path: 1.12.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + 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