videostreamer icon indicating copy to clipboard operation
videostreamer copied to clipboard

Docker image

Open kubitre opened this issue 4 years ago • 5 comments

Can u dockerize this app?

kubitre avatar Oct 14 '19 18:10 kubitre

@horgh

kubitre avatar Oct 27 '19 12:10 kubitre

I added a Dockerfile. Let me know if you see issues with it!

horgh avatar Oct 27 '19 16:10 horgh

it turned out to be a very large image(~500mb). Maybe look in the base image will be of scratch or maybe alpine with a fully static binary?

kubitre avatar Oct 28 '19 20:10 kubitre

I tried to build a static binary, though not yet successfully.

kubitre avatar Oct 28 '19 20:10 kubitre

Right, distroless's would probably be ideal. The problem as you probably found is the ffmpeg libraries. If one can figure out the libraries to copy into the runtime image then it should work, but I'm not sure an easy way to do that. I'd probably accept a PR!

horgh avatar Oct 29 '19 00:10 horgh