I'm trying to build a php image with this Dockerfile:
FROM php:8.0-fpm-alpine
RUN docker-php-ext-install pdo pdo_mysql
It works fine on pc (amd64), but on a Raspberry Pi B+ (armv6) it gets stuck as soon as it reach the command, I can still type in the terminal, so it's not frozen, it just doesn't proceed.
I've also tried php:8.0-fpm and arm32v6/php:7.4-fpm-alpine to no avail.
Any clues?