Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Better version management of docker images and support for updates #11

@simonclausen

Description

@simonclausen

As is now, we build an image, do some tests and push it to a specific version tag on Docker Hub. A new version of dnscrypt-wrapper in an image would get a new tag and be made available under that tag.

This simplified versioning assumes we're okay with having more or less whatever version of Debian and libsodium in the image as whatever is available at build time is what is used.

You are now able to select the version of dnscrypt-wrapper you want to run. Great.

However, e.g. version 0.2.2 will sit there and not receive any patches or updates, when we start tagging images resulting from builds with never versions.

We should take care of this by doing the following:

  • Deciding upon how long we want to support updates for older versions of dnscrypt-wrapper
  • Redesigning the way images are built, tested and pushed to Docker Hub to allow for multiple versions/dockerfiles/tags to be maintained in parallel
  • Designing and implementing periodic builds that support with ongoing update of images

Some notes and thoughts:

  • Stay with only defining major version of the source debian image and install only security updates during the docker build
  • Use travis-ci's cron functionality for kicking off patch builds weekly: https://docs.travis-ci.com/user/cron-jobs/
  • Maybe limit anything but the newest version to be build upon pushes to master (i.e. "if $TRAVIS_EVENT_TYPE = cron" on old versions)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions