Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@rookiemaverick i'm trying to use the voicechat-section of discord.js, but that requires ffmpeg. And because the code is running in a docker container the package manager doesn't want to help me. Oh, and i'm only using the docker container as a sandbox for now, just to have a clean system for testing.
-
@YouAreAPIRate usually when I want to run something I used custom image. Means I pull an image and customize it as my base image.
-
@magicMirror i learned that the hard way. But i didn't know it would take that long nor that there was an npm module that could do this.
-
@magicMirror i just figured out the npm-package wont install arm-binaries and that'll propably be the same for official downloads. My next approach will be building a base-image with ffmpeg and opus compiled myself. Software/container not being available for arm-arch is a common PIroblem.
-
@YouAreAPIRate there is no way a static ffmpeg bonary for arm64 (aarch64) or arm32 (armhf) does not exists already. Even if it didn't, you should use a docker image to build, then take out the binary, and use it on a clean docker image. will save you a lot of time rebuilding it, and lot of layer space.
-
@magicMirror first of all, i said i used docker with --rm -it to create a sandbox. What i did didn't have to be perfect.
Second, i don't want to rely on precompiled binaries from somewhere, they're not always on the latest version. And i thought it'll only take 5min or so, but i didn't compile something larger for a long time.
But in the meantime i got some work done ^^"
For the docker image i'll definitely create a base image that'll use a docker build stage. That way i'll only have to compile ffmpeg once. I'm currently in the process of setting up my docker registry but i have fucking dhcp problems thanks to this low grade no good router.
Related Rants
Current status: i should have gone to bed hours ago and there are other things i need to do, but right now i'm compiling ffmpeg in a docker container
rant
ffmpeg
docker