Skip to content

theohbrothers/docker-coredns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.11.3, :latest 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.