Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not building on Raspberry Pi #29

Closed
chipit24 opened this issue Mar 2, 2019 · 4 comments
Closed

Not building on Raspberry Pi #29

chipit24 opened this issue Mar 2, 2019 · 4 comments

Comments

@chipit24
Copy link

chipit24 commented Mar 2, 2019

I have a Raspberry Pi 3 Model B with docker and docker-compose installed:

pi@raspberrypi $ docker --version
Docker version 18.09.0, build 4d60db4

pi@raspberrypi $ docker-compose --version
docker-compose version 1.23.2, build 1110ad0

In my Laravel app with Laradock set up, if I run docker-compose build --no-cache php-fpm in the laradock folder, the php-fpm service fails to build, throwing the following error:

standard_init_linux.go:207: exec user process caused "exec format error"
ERROR: Service 'php-fpm' failed to build: The command '/bin/sh -c set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip &&       docker-php-ext-configure zip --with-libzip &&       docker-php-ext-install zip &&       php -m | grep -q 'zip'' returned a non-zero code: 1

I get the same error with PHP_VERSION set to 7.1 and with all the PHP_FPM_INSTALL_* options set to false.

Is there a way to get this working on my Pi?

@gmatkowski
Copy link

Have you fixed your issue? I got the same error ....

@chipit24
Copy link
Author

chipit24 commented Jan 9, 2020

@gmatkowski I have not fixed this issue. I ended up creating a much simpler docker setup that I got working on my RPi.

@gmatkowski
Copy link

@gmatkowski I have not fixed this issue. I ended up creating a much simpler docker setup that I got working on my RPi.

I got this working @ nicksonyap/phusion-baseimage-armhf:latest image. But for now it's only available for php 7.2

@bestlong
Copy link
Member

bestlong commented Apr 9, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants