buildx
crates.io-index
buildx | crates.io-index | |
---|---|---|
28 | 39 | |
3,230 | 537 | |
1.5% | 0.4% | |
9.6 | 10.0 | |
7 days ago | 6 days ago | |
Go | Shell | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
buildx
-
BuildKit in depth: Docker's build engine explained
This is great! I’ve been waiting a long time for this and it seems like more debug features are in the pipeline too: https://github.com/docker/buildx/issues/1104
Docs: https://docs.docker.com/engine/reference/commandline/buildx_...
-
Nx + NextJS + Docker - The Nx way: Creating the NextJS application
Container engine: Docker v23.0.4 | Buildx v0.10.4
- Using Docker Buildx to Create Cross-Platform Docker Images for Seamless Compatibility
-
Cross-platform container images with buildx and colima
ARCH=amd64 # change to 'arm64' for M1 VERSION=v0.10.4 curl -LO https://github.com/docker/buildx/releases/download/${VERSION}/buildx-${VERSION}.darwin-${ARCH} mkdir -p ~/.docker/cli-plugins mv buildx-${VERSION}.darwin-${ARCH} ~/.docker/cli-plugins/docker-buildx chmod +x ~/.docker/cli-plugins/docker-buildx docker buildx version # verify installation
-
Help Downloading Buildx on Play-with-Docker Instance
wget -O /tmp/docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/tag/v0.10.4/buildx-v0.10.4.linux-amd64
-
docker-ce upgrade broke my builds
Your particular one looks somewhat like https://github.com/docker/buildx/issues/1595.
-
One Dockerfile is all it takes, falling in love with bake
Now, we have examples of the actual definitions for a single application’s docker container. Notice that we set the contexts key here which references the dependency targets we just defined. You can basically think of this like the depends_on block if you’ve used Terraform before. The args key let’s us populate the ARG variables in the Dockerfile. This is what is ultimately different between each of the containers. In the future, the buildx team might support using for_each loops like in Terraform but for now each block will have a bit of duplication.
-
Optimize your docker containers
Now as bonus we i will add how to use this techniques to build a multi arch build container. Maybe you have the same application but you need to run it in arm or riscv architecture. For this we can use the buildx plugin from docker https://github.com/docker/buildx.
-
Pushing Cutom Images to Docker Hub using GitHub Actions
Third step is docker/setup-buildx-action configures buildx, which is a Docker CLI plugin that provides enhanced build capabilities.
- How to build multi-architecture Docker images?
crates.io-index
-
Google open-sources Rust crate audits
That's already prevented by the checksum which is present for all crate versions in the registry index, which is set in stone on publish and verified by cargo on download. See e.g. https://github.com/rust-lang/crates.io-index/blob/74f1b1e064...
-
Hey Rustaceans! Got a question? Ask here (21/2023)!
Why is the crates.io registry Git repository structured the way it is? https://github.com/rust-lang/crates.io-index
-
Rust Offline?
# $HOME/.cargo/config.toml [...] [registry] default = "gitea" [registries.crates] index = "https://github.com/rust-lang/crates.io-index.git" [registries.gitea] index = "https://gitea.localhost.local/user/_cargo-index.get" [...]
-
Hey Rustaceans! Got a question? Ask here (18/2023)!
[[package]] name = "cbindgen" version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6358dedf60f4d9b8db43ad187391afe959746101346fe51bb978126bec61dfb" dependencies = [ "clap 3.2.23", "heck", "indexmap", "log", "proc-macro2", "quote", "serde", "serde_json", "syn 1.0.109", "tempfile", "toml 0.5.11", ]
-
How to list upgradable crates programmatically
$ cargo upgrade --dry-run --compatible ignore --incompatible allow --pinned ignore --verbose 2>&1 Updating 'https://github.com/rust-lang/crates.io-index' index Checking foo's dependencies name old req compatible latest new req note ==== ======= ========== ====== ======= ==== axum 0.6.11 0.6.15 0.6.15 0.6.11 compatible base64 0.20.0 0.20.0 0.21.0 0.21.0 ...
-
Failing to download crates because can reach github repo. Am i only one?
I am getting: spurious network error (2 tries remaining): unexpected http status code: 503; class=Http Caused by: failed to fetch https://github.com/rust-lang/crates.io-index
-
Advanced crates.io search
https://github.com/rust-lang/crates.io-index contains the entire crates.io index with the names of all crates and their dependencies. grep or ripgrep over that should do the job.
-
Hey Rustaceans! Got a question? Ask here (12/2023)!
[[package]] name = "spade" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1190e0e8f4eb17fc3dbb2d20e1142676e56aaac3daede39f64a3302d687b80f3" dependencies = [ "num-traits", "optional", "robust 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec", ]
-
Extremely slow cargo dependency fetching
Caused by: process didn't exit successfully: git fetch --force --update-head-ok 'https://github.com/rust-lang/crates.io-index' '+HEAD:refs/remotes/origin/HEAD' (exit status: 128) --- stderr error: 2747 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output
- Last uploaded crates
What are some alternatives?
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
cargo-crev - A cryptographically verifiable code review system for the cargo (Rust) package manager.
ghaction-docker-meta - GitHub Action to extract metadata (tags, labels) for Docker [Moved to: https://github.com/docker/metadata-action]
quick-xml - Rust high performance xml reader and writer
aws-graviton-getting-started - Helping developers to use AWS Graviton2 and Graviton3 processors which power the 6th and 7th generation of Amazon EC2 instances (C6g[d], M6g[d], R6g[d], T4g, X2gd, C6gn, I4g, Im4gn, Is4gen, G5g, C7g[d][n], M7g[d], R7g[d]).
cargo-outdated - A cargo subcommand for displaying when Rust dependencies are out of date
build-push-action - GitHub Action to build and push Docker images with Buildx
cargo-msrv - 🦀 Find the minimum supported Rust version (MSRV) for your project
multi-platform-docker-build - Using BuildKit and TARGETPLATFORM for cross-platform Dockerfiles
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
containerd - An open and reliable container runtime
crate2nix - rebuild only changed crates in CI with crate2nix and nix