Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.53 KB

README.md

File metadata and controls

61 lines (44 loc) · 2.53 KB

docker-coredns

github-actions github-release docker-image-size

Dockerized coredns.

Whereas official coredns docker image is based on a scratch image, this image based on Alpine. This slight improvement enables shell scripts to be used as the entrypoint, to help to dynamically generate coredns config files, and help with debugging. The coredns binaries are sourced from their official images.

Tags

Tag Dockerfile Build Context
:1.12.0, :latest View
:1.11.4 View
:1.10.1 View
:1.9.4 View
:1.8.7 View
:1.7.1 View
:1.6.9 View
:1.5.2 View
:1.4.0 View
:1.3.1 View
:1.2.6 View
:1.1.4 View
:1.0.6 View
:0.9.10 View

Development

Requires Windows powershell or pwsh.

# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose

# Edit ./generate templates

# Generate the variants
Generate-DockerImageVariants .

Variant versions

versions.json contains a list of Semver versions, one per line.

To update versions in versions.json:

./Update-Versions.ps1

To update versions in versions.json, and open a PR for each changed version, and merge successful PRs one after another (to prevent merge conflicts), and finally create a tagged release and close milestone:

$env:GITHUB_TOKEN = 'xxx'
./Update-Versions.ps1 -PR -AutoMergeQueue -AutoRelease

To perform a dry run, use -WhatIf.