Multi-arch/arm64-compatible images for metabase.
Based on this comment from the Metabase issue for supporting ARM.
Need to use a docker driver that supports multiple platforms (otherwise buildx fails with error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
).
docker buildx create --use
docker buildx build --push --platform linux/amd64,linux/arm64 --tag loancrate/metabase:latest .
docker buildx build --push --platform linux/amd64,linux/arm64 --tag loancrate/metabase:enterprise-v1.46.6.4 --build-arg metabase_repo=metabase-enterprise --build-arg metabase_version=v1.46.6.4 .