naftulikay / rust-fuzzy-datetime

An example project to demonstrate the features and characteristics of "fuzzy" datetimes which can represent historical dates and time periods.
Other
0 stars 0 forks source link

Docker Multi-Platform Builds #6

Open naftulikay opened 2 years ago

naftulikay commented 2 years ago

I'm currently using:

docker buildx build \
  --progress plain \ # show full output and don't collapse on subsequent steps
  --build-arg RUST_RUN_TESTS=false \ # skip tests
  --build-arg RUST_RUN_AUDIT=false \ # skip audit
  --platform linux/amd64 \ # or linux/arm64, or both via linux/amd64,linux/arm64
  -t naftulikay/fuzzydatetime:latest \
  .

And this builds for the given platforms without issue.

naftulikay commented 2 years ago