wodby / php

Generic PHP docker container images
MIT License
156 stars 103 forks source link

Replace dev-macos images with multi-arch images #175

Closed mxr576 closed 2 years ago

mxr576 commented 2 years ago

I very far away to be an expert in multi-arch images but if I understand it right than the "special" dev-macos images for MacOS users could be "merged" in the standard images and released under one time.

If this would be possible then we can get rid of manual- or automated workarounds for using the right image versions on MacOS because Docker would automatically pull them.

Busybox is a good example for "one image"/one tagged release for multiple architectures. https://hub.docker.com/_/busybox/tags

csandanov commented 2 years ago

-dev-macos variants are just images with a different default user uid/gid, multi-arch is about processor architecture, you can use linux/arm64 not only on mac (but for example on aws graviton) and you can have mac with amd64 arch. We already have linux/arm64 variants, so if you're running M1/M2 mac docker should normally pull linux/arm64 variants