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

ffmpeg for docker alpine #8

Open
IT-VBFK opened this issue Feb 12, 2025 · 0 comments
Open

ffmpeg for docker alpine #8

IT-VBFK opened this issue Feb 12, 2025 · 0 comments

Comments

@IT-VBFK
Copy link

IT-VBFK commented Feb 12, 2025

Hi

Just want to point out some findings: If you run YoutubeExplode in a docker container based on alpine, you cannot use the linux binaries from this repo.

I guess it's because they are linked against the glibc linker: Some hints

So, you have to install ffmpeg the alpine linux way like: apk add ffmpeg in your Dockerfile like so:

FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine

USER root

WORKDIR /tmp

RUN apk -q update && apk add -q ffmpeg && rm -rf /var/cache/*
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

1 participant