Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

420
Views
docker-php-ext-install gets stuck on Raspberry Pi (arm32v6)

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?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The issue appears to be the package manager not working for users of x86, armv7, and armhf due to some outdated packages as stated here (Alpine >= 3.13) and here (Debian >= bullseye). The docker-php-ext-install script tries to use the package manager, which fails, but errors are not displayed making the issue unclear at first.

To solve this you can either run an image of php that uses Alpine < 3.13 / Debian < bullseye e.g. php:7.0-fpm-alpine (Alpine 3.7) / php:8.0-fpm-buster (Debian Buster), or use one of the fix in the links above (run the container with --privileged or manually update libseccomp).

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!