vitess-gh/docker
Matt Lord 652b0da1b8
Release of v15.0.3 (#12767)
* Release notes for 15.0.3

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Release commit for 15.0.3

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Rename directory

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Update changelog/15.0/15.0.3/release_notes.md

Signed-off-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>

---------

Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
Co-authored-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
2023-03-30 17:37:29 +02:00
..
base Upgrade to `go1.18.9` (#11897) 2022-12-09 11:06:41 +01:00
bootstrap Upgrade to `go1.18.9` (#11897) 2022-12-09 11:06:41 +01:00
k8s [release-15.0] Docker Image Context Fix (#11628) (#11637) 2022-11-04 14:20:41 +05:30
lite Upgrade to `go1.18.9` (#11897) 2022-12-09 11:06:41 +01:00
local Upgrade to `go1.18.9` (#11897) 2022-12-09 11:06:41 +01:00
mini feat: remove pre and post failover hooks from graceful-primary-takeover 2021-11-17 11:18:58 +05:30
orchestrator ci: remove remaining references to `go get -u` 2022-03-17 10:40:20 +01:00
root update license in example/ config/ data/ doc/ docker/ 2019-10-22 13:51:38 +08:00
test remove assumptions in other permsissions 2022-02-17 11:35:38 -06:00
vttestserver Upgrade to `go1.18.9` (#11897) 2022-12-09 11:06:41 +01:00
Dockerfile.release update license in example/ config/ data/ doc/ docker/ 2019-10-22 13:51:38 +08:00
README.md more master->primary changes in docs, tests, functions and variables. 2021-08-10 19:52:24 -07:00
release.sh Release of v15.0.3 (#12767) 2023-03-30 17:37:29 +02:00

README.md

Vitess Docker Images

The Vitess Project publishes several Docker images in the Docker Hub "vitess" repository. This file describes the purpose of the different images.

TL;DR: Use the vitess/lite image for running Vitess. Our Kubernetes Tutorial uses it as well. Instead of using the latest tag, you can pin it to a known stable version e.g. v4.0.

Principles

The structure of this directory and our Dockerfile files is guided by the following principles:

  • The configuration of each Vitess image is in the directory docker/<image>/.
  • Configurations for other images e.g. our internal tool Keytar (see below), can be in a different location.
  • Images with more complex build steps have a build.sh script e.g. see lite/build.sh.
  • Tags are used to provide (stable) versions e.g. see tag v2.0 for the image vitess/lite.
  • Where applicable, we provide a latest tag to reference the latest build of an image.

Images

Our list of images can be grouped into:

  • published Vitess code
  • dependencies for our Kubernetes tutorial
  • internally used tools

Vitess

Image How (When) Updated Description
bootstrap manual (after incompatible changes are made to bootstrap.sh or vendor/vendor.json Basis for all Vitess images. It is a snapshot of the checked out repository after running ./bootstrap.sh. Used to cache dependencies. Avoids lengthy recompilation of dependencies if they did not change. Our internal test runner test.go uses it to test the code against different MySQL versions.
base manual (on demand) Contains all Vitess server binaries. Snapshot after running make build.
lite automatic (after every push to main branch) Stripped down version of base

All these Vitess images include a specific MySQL/MariaDB version ("flavor").

  • We provide Dockerfile files for multiple flavors (Dockerfile.<flavor>).
  • On Docker Hub we publish only images with MySQL 5.7 to minimize maintenance overhead and avoid confusion.

If you are looking for a stable version of Vitess, use the lite image with a fixed version. If you are looking for the latest Vitess code in binary form, use the "latest" tag of the lite image. If you need to use a binary that is not included in lite use the base image.