re: Building an interactive Raspberry Pi dashboard with Laravel, Grafana, and Docker VIEW POST

re: Hi Andrew, Thanks for a well written and useful post. I'm using it to connect a pi-w to an old model B which has been logging temperature (heating...

Glad the repo helped Mat, I'll have to make some quick edits to those in the article!

Also, if you don't mind me asking, how'd you find this post?


This post was linked from the stack overflow newsletter (The Overflow #20: Sharpen your skills).

I can't get beyond docker-compose up -d --build though. Tried the dockerfile in your repo, tried some other containers, played around with it but it always fails (output below).

Fresh Raspbian 10 on a Pi Zero 1.1, 16Gb sd card. Google didn't help - any ideas?

Many thanks

~/laravel-grafana-dashboard-master $ docker-compose up -d --build

Building php
Step 1/3 : FROM php:7.4-fpm-alpine
---> 62ddc4288d97
Step 2/3 : WORKDIR /var/www/html
---> Using cache
---> 2c1d49e9f256
Step 3/3 : RUN docker-php-ext-install pdo pdo_mysql
---> Running in 5e66cc8f0056
ERROR: Service 'php' failed to build: The command '/bin/sh -c docker-php-ext-install pdo pdo_mysql' returned a non-zero code: 139

code of conduct - report abuse