-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We're adding a new rockcraft definition for the 1.11.3 coredns version.
- Loading branch information
1 parent
1ecd13b
commit 89d70c5
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.3" | ||
license: Apache-2.0 | ||
|
||
base: bare | ||
build-base: [email protected] | ||
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.3 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters