зеркало из https://github.com/github/vitess-gh.git
569e90e25f
Signed-off-by: deepthi <deepthi@planetscale.com> |
||
---|---|---|
.. | ||
Dockerfile.common | ||
Dockerfile.mariadb | ||
Dockerfile.mariadb103 | ||
Dockerfile.mysql56 | ||
Dockerfile.mysql57 | ||
Dockerfile.mysql80 | ||
Dockerfile.percona | ||
Dockerfile.percona57 | ||
Dockerfile.percona80 | ||
README.md | ||
build.sh |
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 flavorsvitess/bootstrap:mariadb
- bootstrap image for MariaDBvitess/bootstrap:mysql56
- bootstrap image for MySQL 5.6vitess/bootstrap:mysql57
- bootstrap image for MySQL 5.7vitess/bootstrap:percona
- bootstrap image for Percona Servervitess/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:
-
Build new bootstrap images.
vitess$ make docker_bootstrap
-
For each flavor, run all tests and make sure that they pass.
vitess$ make docker_bootstrap_test
-
When all tests passed, push each image to Docker Hub.
vitess$ make docker_bootstrap_push