Closed ghnp5 closed 2 months ago
iirc alpine uses musl, so unless you can install glibc or some compat layer if that exists, they won't run.
Thank you for your reply. That was very quick!
I wonder how they currently build a working ffmpeg, which is available in their repo. Just that unfortunately it's version 6, still...
(I had a look at the discussion at #105 and #165)
You can build ffmpeg against musl just fine, but pre-built binaries that aren't fully static need to pick a libc. It's possible to make a fully static ffmpeg, but it breaks a lot of stuff that relies on runtime-loading libraries, like most hardware accelerations. So for musl-systems, you need ffmpeg that's built against musl or fully static.
Thanks! That helps.
Looks like wader/static-ffmpeg works for me, because it's fully static:
COPY --from=mwader/static-ffmpeg:7.0.2 /ffmpeg /usr/bin/
COPY --from=mwader/static-ffmpeg:7.0.2 /ffprobe /usr/bin/
RUN ffmpeg -version
Thanks again!
I'm getting a "not found", which usually would mean the binary is unreadable, I believe.
Outputs (the last 3 commands):
Thanks!