docker-library / rabbitmq

Docker Official Image packaging for RabbitMQ
http://www.rabbitmq.com/
MIT License
785 stars 417 forks source link

Fix OpenSSL platform detection, especially for 32bit arches #657

Closed tianon closed 1 year ago

tianon commented 1 year ago

Thanks to a bug in buildx/buildkit (see https://github.com/docker-library/bashbrew/pull/80, https://github.com/docker/buildx/pull/1886), our CI failed to catch that i386 has been failing to build (for some reason, OpenSSL was detecting it as linux-x32 instead of linux-x86), and our arm32v7 builds were failing for a similar reason (assuming "armv4" instead of v7).

This makes the detection explicit based on the userspace architecture instead.