-
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
docker/lite: +zstd dep #11997
docker/lite: +zstd dep #11997
Conversation
Signed-off-by: Max Englander <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
Hi @deepthi thank you for the approve! I think I was a bit pre-mature requesting a review on this one, forgot when I opened this how vtbackup works, and so putting zstd in the vttablet image means it might not be available to vtbackup. Need to re-think this. |
If we decide to resurrect this, the before and after image sizes should be documented in the PR. |
Hey @deepthi I do plan to resurrect this and when I do will document the image sizes. Thanks! |
I'm going to go ahead and merge this now. The file size diffs look great.
|
Related to #7802
Description
I would like to have zstd CLI available in Docker lite images so that when using VTOP-deployed Vitess I can take advantage of the fact that zstd external is apparently much faster (see #11994) than the native Go library.
Image sizes
docker inspect <image> | jq -r .[].Size
Not sure if there is a better way to find out these image sizes, but here's what I did.
Since I'm building these on my Mac I need to use
docker buildx
to build linux/amd64 images. I made a small change to Makefile to make this easier: #12081Then I ran
GOOS=linux GOARCH=amd64 make docker_<target>
onmain
(7fc1b48) and this branch. Except forlite_ubi8.arm64.mysql80
which with just plainmake
.ubi7.mysql57
,ubi7.mysql80
orubi8.mysql80
images locally though, I get this error: