Sign inSign up

digiticketsgroup/dnsmasq

By digiticketsgroup

•Updated 4 months ago

Dnsmasq

Image
0

10K+

digiticketsgroup/dnsmasq repository overview

⁠DigiTickets Docker DNS Masq Image

Builds and saves a Docker image that contains the following functionality:

  1. dnsmasq v2.90 : Changelog⁠

The image is available at:

  1. AWS ECR : 486664091417.dkr.ecr.eu-west-1.amazonaws.com/dnsmasq:dnsmasq-2.90
  2. Docker Hub : digiticketsgroup/dnsmasq:dnsmasq-2.90

⁠Locally build and validation

You can build and validate the build locally by using the following make targets:

  1. make make - Build a makefile with the current config as defined in config.json.
  2. make build - Builds the image with the required versions.
  3. make validate - Validates that the build correctly incorporated the expected versions.
  4. make list - List the available targets for make.

You will need this repo, and the inf-base repo, which should be located parallel to this repo.

⁠Scheduled BitBucket pipeline

This master pipeline for this repo has been scheduled to run every Monday between 10 and 11AM.

The results will be presented in the #deployment Slack channel.

⁠config.json structure

The config.json file in each of the docker-xxx repos describes the versions of the tools built into the image as well instructions on how to validate the build.

The root elements are:

ElementDescription
READMEThe title to be used in the generated README.md file.
repositoryThe AWS ECR and Docker Hub repository to hold the image.
They AWS ECR repository must already exist before attempting to push the image to the repos.
requirementsA set of descriptions to determine which tools are to be put into the image as well as how to validate them.

The requirement elements are:

ElementDescriptionDefault
abbreviationA 2 or 3 letter abbreviation of the tool and is used in the image name.
changelog_urlThe location of the tool's CHANGELOG or version documentation.
commandThe name of the command to be executed.The value in the name element
compare_exactWhen true the version must match exactly.
When false the comparison is a regex match.
In both cases the compare_prefix, compare_suffix, and drop_suffix_from (if defined), are combined with version and compared against the version of the tool installed.
true
compare_prefixThe prefix that the tool uses when showing the version.
compare_suffixThe suffix that the tool uses when showing the version.
dockerhubPush to Docker Hub.true
drop_suffix_fromTruncate the version from this string.null
fixedProhibits upgrading.false
forceForces a build of the image, regardless of what has been cached.
This is primarily used for tools that do not allow you to nominate the version that is required.
false
install_versionThe general version that you need to ask for when the tool does not allow a specific version to be asked for.
nameThe name of the tool and is used as the command also.
self_updateIf there is a version number change for this requirement, then automatically update the config and re-run a build.
skip_version_checkSet to true if there is no way to easily validate the version of the tool, or no validation is required.false
versionThe required version.
version_optionThe command's option to display the command's version.--version
versions_regexThe regex to extract the old and new versions when the version is not an exact match. Requires oldVersion and newVersion anchors.

Tag summary

Content type

Image

Digest

sha256:9120ab15c…

Size

4.3 MB

Last updated

4 months ago

docker pull digiticketsgroup/dnsmasq