From 309de685db5c50b66e78afbffd23f5a821fae37a Mon Sep 17 00:00:00 2001 From: addyess <10090033+addyess@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:40:50 +0000 Subject: [PATCH] Update CoreDNS versions with 1.11.4, 1.12.0 --- 1.11.4/rockcraft.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1.12.0/rockcraft.yaml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 1.11.4/rockcraft.yaml create mode 100644 1.12.0/rockcraft.yaml diff --git a/1.11.4/rockcraft.yaml b/1.11.4/rockcraft.yaml new file mode 100644 index 0000000..f20d200 --- /dev/null +++ b/1.11.4/rockcraft.yaml @@ -0,0 +1,37 @@ +name: coredns +summary: ROCK for the CoreDNS Project. +description: This ROCK is a drop in replacement for the coredns/coredns image. +version: "1.11.4" +license: Apache-2.0 + +base: bare +build-base: ubuntu@22.04 +platforms: + amd64: + arm64: + +entrypoint-service: coredns +services: + coredns: + override: replace + summary: "coredns service" + startup: enabled + command: "/coredns [ -conf /etc/coredns/Corefile ]" + on-failure: shutdown + +parts: + coredns: + plugin: nil + source: https://github.com/coredns/coredns + source-type: git + source-tag: v1.11.4 + source-depth: 1 + build-packages: + - build-essential + build-snaps: + - go/1.21/stable + stage-packages: + - ca-certificates_data + override-build: | + make + cp $CRAFT_PART_BUILD/coredns $CRAFT_PRIME diff --git a/1.12.0/rockcraft.yaml b/1.12.0/rockcraft.yaml new file mode 100644 index 0000000..1b706f9 --- /dev/null +++ b/1.12.0/rockcraft.yaml @@ -0,0 +1,37 @@ +name: coredns +summary: ROCK for the CoreDNS Project. +description: This ROCK is a drop in replacement for the coredns/coredns image. +version: "1.12.0" +license: Apache-2.0 + +base: bare +build-base: ubuntu@22.04 +platforms: + amd64: + arm64: + +entrypoint-service: coredns +services: + coredns: + override: replace + summary: "coredns service" + startup: enabled + command: "/coredns [ -conf /etc/coredns/Corefile ]" + on-failure: shutdown + +parts: + coredns: + plugin: nil + source: https://github.com/coredns/coredns + source-type: git + source-tag: v1.12.0 + source-depth: 1 + build-packages: + - build-essential + build-snaps: + - go/1.21/stable + stage-packages: + - ca-certificates_data + override-build: | + make + cp $CRAFT_PART_BUILD/coredns $CRAFT_PRIME