-
Notifications
You must be signed in to change notification settings - Fork 713
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
Docker Image Fails to Configure FFMPEG on x64 Platforms #2902
Comments
Reproducible on M1 MacBook if you set the following environment variable: |
Can confirm that our docker builds are also failing as a result @caseycarroll have you managed to find a workaround? |
@anthonymunene Sorry, I've yet to find a workaround. I've tried removing the |
Issue persists - running linux (Manjaro) |
We upgraded our alpine image to |
was that your only change? I played with upgrading alpine, FFMPEG, and php-fpm-alpine and managed to progres much further but not all the way - but I may not have updated only alpine. EDIT: actually the current dockerfile already uses 3.18 |
Dockerfile-PHP uses Alpine 3.13. https://github.com/WPO-Foundation/webpagetest/blob/master/docker/local/Dockerfile-php#L1 I can't test bumping it at the moment due to my work firewall blocking Alpine repo connections. @dreadedhamish Can you try bumping 3.13 to 3.18 and report back? |
Not the running php stage needs 3.18, the build stage needs to be alpine:3.18. So yes @caseycarroll is correct :) |
I just did a fresh pull of the repo and changed only the alpine version in Dockerfile-php, and received this error: From the look of it the dockerfile is calling versioned libraries, but the apt-get would get the most current? |
Description
When using
docker-compose up
on a Windows or Linux machine, the build fails at line https://github.com/WPO-Foundation/webpagetest/blob/master/docker/local/Dockerfile-php#L45.It builds successfully after removing the
--enable-librav1e
flag. I did some digging and it appears the error is:This is odd because it appears that lib gets added on this line: https://github.com/WPO-Foundation/webpagetest/blob/master/docker/local/Dockerfile-php#L35
To make it weirder, this build error does not occur when running
docker-compose up
on an M1 Macbook.Steps to reproduce
docker-compose up
from the root of the projectExpected result
Docker build step completes successfully.
Actual result
Docker build step fails
Related issues?
May be related to #2865
The text was updated successfully, but these errors were encountered: