:blobfoxgooglyconfused: People might still have confusion about using native cross-compilation support for languages like #Go rather than using #QEMU in Dockerfiles while using #Buildx, here is a great resource by Tonis Tiigi🥳
TLDR; add "--platform=$BUILDPLATFORM" to your FROM!
https://github.com/tonistiigi/xx#dockerfile-cross-compilation-primer
J'ai appris un truc aujourd'hui :
🐳 "Multi-platform images" https://docs.docker.com/build/building/multi-platform/
📦 https://github.com/docker/buildx#buildx
(et tout ça grâce à une version de java qui publie des DebianRevisionNumber différents pour chaque architecture, miam).
#buildkit #buildx #devops #docker
🚨 The v1.0 release for #SLSA is on the way since the latest final release before v1.0 is RC2 was announced recently 🥳 Before v1.0, the issue for tracking the projects that currently integrate #SLSA provenance generation such as #buildx, #chains, many more⏰
https://github.com/slsa-framework/slsa/issues/574
If you want to install @docker #Buildx through @nixos_org and you are on the macOS environment, here are the commands that you should run ☝️
➡️ nix-env -iA nixpkgs.docker-buildx
➡️ln -s ~/.nix-profile/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx
➡️ docker buildx version
6⃣ Since I'm one of the
@Docker
Captains, there is no doubt that I should be maintaining the #buildkit and #buildx packages. I added myself to the maintainers of these packages as well!
/cc
@amyg12345
➡️ nix-env -iA nixpkgs.(buildkit|docker-buildx)
TIL: docker buildx a son propre systeme de cache et par builder (si vous utilisez d'autres que "default")
Donc en plus de la version nucléaire 💥 :
docker system prune --force --all --volumes
Il faut rajouter:
docker buildx use <builderName> # optionnel
docker buildx prune --all --force
docker buildx use default # optionnel - retour à la case départ
#docker #container #buildx #prune #cache #sysops
RT @Docker@twitter.com
📣 Hear ye, hear ye! #BuildKit v0.11 is now available, along with #Buildx v0.10 and v1.5 of the #Dockerfile syntax. Dive in (and tell us what you think!!) here: https://dockr.ly/3wddmys
💻 Find the full changelog here: http://bit.ly/3GSy2km
@dragnucs Difficult and embarassing topic.
I wrote prototypes for Terraform Providers for #podman, #buildah and #kaniko IIRC.
ALL of them are horrible at caching layers - let alone remote exec.
The only descend approach which supports caching seems to be #buildx + #buildkit. And yes, I have a prototype implementation for that as well.
We are still not testing this though, since hosting a Buildkit Remote Builder on GKE is a nightmare.
Let alone error handling in both buildx and buildkit is BAD.
#podman #buildah #kaniko #buildx #buildkit
Updated native buildx builder post
Just updated https://blog.dustinrue.com/2021/12/using-a-remote-docker-engine-with-buildx/ to include a flag that I either missed at the time or has come about since I wrote the post. You can add --platform when adding a context to a builder so that it is "locked" to that architecture. Useful if you are a colima user which advertises itself as capabl
https://blog.dustinrue.com/2022/12/updated-native-buildx-builder-post/
#Computing #buildx #colima #docker
#computing #buildx #colima #docker
RT @developerguyba@twitter.com
Let's bake container images with bake 👨🍳🍰
I've written a blog post about @Docker@twitter.com #Buildx bake, with my say, a hidden gem inside Buildx 💎
I'd like to thank @crazyws@twitter.com for all his support and for such a great tool 🫶🙋🏻♂️
Hope you will enjoy it, thanks in advance for reading 🕺🏻😇 https://twitter.com/SaiyamPathak/status/1566830506330980353
🐦🔗: https://twitter.com/developerguyba/status/1567029396690665476
RT @crazyws@twitter.com
First RC of #buildx 0.7.0 is out! Give it a try and let us know if you encounter any issues, thanks! https://github.com/docker/buildx/releases/tag/v0.7.0-rc1
RT @crazyws@twitter.com
I'm going to do a quick demo around #buildx bake. If you're interested it's time to join us at the #Docker #Community All-Hands on Mar 11th, 2021: https://dockr.ly/all-hands
RT @crazyws@twitter.com
#Diun 4.11.0 is now available! It adds support for @PushoverApp@twitter.com notifications and dev workflow has been refactored to be platform agnostic (now fully relies on #buildx #bake). #docker #swarm #kubernetes #registry #golang https://crazy-max.github.io/diun/
#Diun #buildx #bake #docker #swarm #kubernetes #registry #golang
#Gitlab #CI is pretty awesome! Generating #Docker images for various platforms using #buildx and pushing it to the integrated container registry works like a charm. Next step: Deploying the image into a #k3s cluster. I will release source code as soon as I have cleaned everything up.
#ci #buildx #k3s #gitlab #docker