Skip to content

Commit

Permalink
Added rockcraft.yaml for CoreDNS (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz authored Feb 6, 2024
1 parent 331665a commit 634f42f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: coredns
summary: ROCK for the CoreDNS Project.
description: This ROCK is a drop in replacement for the coredns/coredns image.
version: "1.11.1"
license: Apache-2.0

base: bare
build-base: ubuntu@22.04
platforms:
amd64:
# TODO: Add after workflows support bulding arm64 ROCKs
# arm64:

services:
coredns:
override: replace
summary: "coredns service"
startup: enabled
command: "/coredns"

parts:
coredns:
plugin: nil
source: https://github.com/coredns/coredns
source-type: git
source-tag: v1.11.1
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

0 comments on commit 634f42f

Please sign in to comment.