-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate / fix dockerfiles and docker builds #7433
Comments
How committed are we to sticking with the name |
|
Yes, https://hub.docker.com/r/cockroachdb/cockroach On a similar note, we're artificially inflating the amount of installation and operational complexity by having all the separate binaries, since the majority of each binary is all the same code and a ton of dependencies. If we had a single binary that "shelled" out to all the existing binaries: e.g.
That may be more than we want to tackle here, but I really think we could significantly simplify things. |
The names
In general, I think we should move off of Docker Hub's automation and use GitHub Actions. The main blocker for that has been that we didn't want to give GHA in our public repo the credentials to push the final images to Docker Hub, but someone recently explained that we can get around that by creating a private repo under the vitessio org and running the workflow there instead. That private repo could pull the public repo and run scripts that remain checked in on the public side.
Good idea! And this will be trivial to do from GHA. You just run another
Nice idea! Might want to track that in a separate issue. |
In addition to the issues/comments above, I'd like to add a point-of-view from the documentation side. As someone who is interested in Vitess, I found the documentation shows unnecessary steps. For example, in here, https://vitess.io/docs/get-started/local-docker/ we are encouraged to do But again when I look around Docker Hub I found the same confusion as @derekperkins said
|
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 useslite
images. It will be nice to eliminate the k8s image altogether and uselite
as the base for all the smaller images.k8s
images are not auto-built with releases unlike thelite
imagemysql57
version of thelite
image is being built.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.vtexplain
being installed in a different place fromvtctlclient
which is confusing to users.The text was updated successfully, but these errors were encountered: