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.08k stars 116 forks source link

ARM/multi architecture images #43

Closed FireMasterK closed 2 years ago

tianon commented 2 years ago

Unfortunately this repository is just a PoC of how this could be implemented, and I don't have the resources to build it on ARM too -- however, the Dockerfiles here should build pretty well as-is on ARM.

pat-s commented 1 year ago

Would you accept a PR to extend the current GHA workflow?

tianon commented 1 year ago

GHA only does a build test; it doesn't build the images on Docker Hub (nor does it or will it any time soon have access to; Hub's permissions model is way too loose for me to trust GHA with creds).

pat-s commented 1 year ago

nor does it or will it any time soon have access to; Hub's permissions model is way too loose for me to trust GHA with creds

That's quite unfortunate. I am running a lot of arm VMs lately and this project is really great (thanks!) but the lack of arm images is quite a bummer. Guess I am building and publishing my own ones then but would have preferred contributing.

Thanks for the quick reply!

Dmitriusan commented 1 year ago

nor does it or will it any time soon have access to; Hub's permissions model is way too loose for me to trust GHA with creds

That's quite unfortunate. I am running a lot of arm VMs lately and this project is really great (thanks!) but the lack of arm images is quite a bummer. Guess I am building and publishing my own ones then but would have preferred contributing.

Thanks for the quick reply!

if you do, it would be great to mention them at a README of a current repository. It is a common issue

Dmitriusan commented 1 year ago

Unfortunately this repository is just a PoC of how this could be implemented, and I don't have the resources to build it on ARM too -- however, the Dockerfiles here should build pretty well as-is on ARM.

btw, Oracle cloud offers free Ampere A1 Compute instances (4 cores/24 gb of RAM) https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm

pat-s commented 1 year ago

Thanks. Haven't decided yet whether I'll do it on GHA with buildx or on my own infrastructure using dedicated arm machines. Will report back when I got something.

pat-s commented 1 year ago

Here's the repo with multiarch images: https://hub.docker.com/repository/docker/pats22/postgres-upgrade/general

Currenlty rebuilt weekly.