tianon / docker-postgres-upgrade

a PoC for using "pg_upgrade" inside Docker -- learn from it, adapt it for your needs; don't expect it to work as-is!
https://hub.docker.com/r/tianon/postgres-upgrade/
MIT License
1.04k stars 113 forks source link

Support for linux/arm64/v8 #99

Open brot opened 2 months ago

brot commented 2 months ago

I'm using a Hetzner cloud server CAX11 (https://www.hetzner.com/cloud/) with an "efficient Arm64 architecture with Ampere® Altra® processors." And today I wanted to upgrade my postgres docker container from Postgres 15 to Postgres 16, but got the following message:

ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries

Would be great if you could also support the arm64 architecture with your docker containers on hub.docker.com

tianon commented 2 months ago

This is technically a duplicate of https://github.com/tianon/docker-postgres-upgrade/issues/43, https://github.com/tianon/docker-postgres-upgrade/issues/82, #85, but my build setup has changed in the meantime such that this is possible for me now, so I'll leave this open as a reminder to ponder whether it's something I'd like to do (or whether I'd rather not to further encourage folks to not blindly use the PoC as-is 😇).