Skip to content

Consolidate / fix dockerfiles and docker builds #7433

@deepthi

Description

@deepthi

Overview of the Issue

We have several different docker images we publish on dockerhub which are supposed to be "full" or comprehensive vitess installs: base, lite, k8s.
In addition, we use k8s as the base and build small images for individual binaries.

We have a few problems right now

  • k8s images are used by helm charts, but everyone else uses lite images. It will be nice to eliminate the k8s image altogether and use lite as the base for all the smaller images.
  • k8s images are not auto-built with releases unlike the lite image
  • When we make a release only the mysql57 version of the lite image is being built.
  • If we want to auto-build any other images (e.g. vtexplain) with a release, we currently don't have a way of making that wait until its base image with the same tag has been built.
  • Somehow each push to master results in two docker builds with the same SHA. Given the number of variants we build, this slows the pipeline down quite a bit.
  • There are some other issues like vtexplain being installed in a different place from vtctlclient which is confusing to users.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions