-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add app-containers/docker-buildx #2204
Conversation
e98d996
to
e1e9280
Compare
e1e9280
to
8016d40
Compare
CI passed. Another 23mb in /usr taken, because the buildx backend binary is 70mb (crazy!). |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/10678229591 |
btrfs compression pays off really well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Are we supposed to have Docker build tools in the production image? |
I think so. Why? |
Now depends on the use case, but we cannot remove a feature without deprecating it first. And |
I just find it odd given that we don't have other build tools, but I guess you don't need other build tools for |
To expand on this, I feel that you might have removed |
And…
Yeah, the binary size is ridiculous. The saving grace here is that we use compressed btrfs, which shrinks that beast to 20mb. But honestly, I don't think anyone (certainly not me!) has put any thought of removing having parts of docker that are of some use only in generic images (like Hm. Some of our tests are using
|
Sounds good, but maybe instead of patching Docker, you could just drop in a dummy buildx binary that errors with a message like that. |
It's from Gentoo commit 78a80d67558ed5ae0f14ba8ecb8bee5d9aadd329.
The build_docker_aci script only supported docker 12.x, which we don't have since ages, so it's a clear sign of a script being obsolete. Removing it results in some other scripts in build_library being unused, so drop them too.
Filed an issue: flatcar/Flatcar#1529 |
8016d40
to
6d30842
Compare
CI passed. |
This is to address a deprecation message that shows up when building docker images with
docker build
:CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/4602/cldsv/
The PR also drops some obsolete scripts.
changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.