I have a container that is built on top of debian:jessie (there is some openssl compilation and some custom stuff). I want my image to be launchable on different architectures, for example on "normal" x86_64 OSes but also on ARM-based architectures like RaspberryPI.
I found that when I build the image on x86_64 and publish it on HUB, it does not work when is pulled on ARM device and vice versa. Trying to do so results in some "cannot find some libraries" or "unrecognized commands" errors.
The question is: how to build and publish my image so it is available for other architectures (and, what's important - how to tell docker to automatically select the appropriate one when downloading)?
I can see that the debian containers "have been ported" to different architectures but I can't find any information how to accomplish this for my image.