postgres
postgres copied to clipboard
Feature/support mac M architecture
What kind of change does this PR introduce?
Add support for building on a mac with the M-series processors.
What is the current behavior?
The command
docker buildx build \
$(yq 'to_entries | map(select(.value|type == "!!str")) | map(" --build-arg " + .key + "=" + .value) | join("")' 'ansible/vars.yml') \
--target production \
--tag 'custom_supabase_postgres' \
--platform 'linux/arm64/v8,linux/amd64' \
--load \
.
Fails with unsupported architecture because aarch64 is not supported.
Please link any relevant issues here.
What is the new behavior?
It builds on mac with the M1 processor.
Additional context
I've also documented how to quickly build multi-arch images locally.
@jhf I will be working on these Dockerfiles again within the next 2 weeks, and will come back and look at your PR and try to integrate it. Thank you!
@samrose @jhf where does this PR stand? still valid? still pending review from backend?