vitess-gh/docker/bootstrap
Daniël van Eeden dde7979b28 Remove references to mercurial 2017-05-07 10:20:03 -07:00
..
Dockerfile.common Remove references to mercurial 2017-05-07 10:20:03 -07:00
Dockerfile.mariadb docker: Always set USER environment variable to "vitess". 2016-05-25 17:38:58 -07:00
Dockerfile.mysql56 docker: Always set USER environment variable to "vitess". 2016-05-25 17:38:58 -07:00
Dockerfile.mysql57 docker: Always set USER environment variable to "vitess". 2016-05-25 17:38:58 -07:00
Dockerfile.percona Update percona 5.6 key (#2181) 2016-10-24 11:28:19 -07:00
Dockerfile.percona57 Update percona signing key as per: https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/ (#2180) 2016-10-24 11:10:44 -07:00
README.md Include Percona 5.7 Docker image in docs and test runner. (#2113) 2016-10-05 15:01:52 -07:00
build.sh license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00

README.md

Bootstrap Images

These Dockerfiles create images that contain everything Vitess expects to have after successfully running bootstrap.sh and dev.env.

The vitess/bootstrap image comes in different flavors:

  • vitess/bootstrap:common - dependencies that are common to all flavors
  • vitess/bootstrap:mariadb - bootstrap image for MariaDB
  • vitess/bootstrap:mysql56 - bootstrap image for MySQL 5.6
  • vitess/bootstrap:mysql57 - bootstrap image for MySQL 5.7
  • vitess/bootstrap:percona - bootstrap image for Percona Server
  • vitess/bootstrap:percona57 - bootstrap image for Percona Server 5.7

NOTE: Unlike the base image that builds Vitess itself, this bootstrap image will NOT be rebuilt automatically on every push to the Vitess master branch.

To build a new bootstrap image, use the build.sh script.

First build the common image, then any flavors you want. For example:

vitess$ docker/bootstrap/build.sh common
vitess$ docker/bootstrap/build.sh mysql56

For Vitess Project Maintainers

To update all bootstrap images on Docker Hub, you can use the docker_bootstrap Makefile target to build every flavor:

  1. Build new bootstrap images.

    vitess$ make docker_bootstrap
    
  2. For each flavor, run all tests and make sure that they pass.

    vitess$ make docker_bootstrap_test
    
  3. When all tests passed, push each image to Docker Hub.

    vitess$ make docker_bootstrap_push