Adding Debian Buster Dockerfile#141
Conversation
| apt-get update; \ | ||
| apt-get install -y --no-install-recommends \ | ||
| build-essential \ | ||
| musl-dev gcc \ |
There was a problem hiding this comment.
Probably don't need musl-dev on a buster.
There was a problem hiding this comment.
Without it, it didn't work.
| # Use static linking to work around https://github.com/rust-lang/rust/pull/58575 | ||
| ENV RUSTFLAGS='-C target-feature=-crt-static' |
There was a problem hiding this comment.
Isn't this workaround only required on musl?
There was a problem hiding this comment.
Maybe because of this it didn't work without musl-dev. No idea.
| RUN set -eux; \ | ||
| apt-get update; \ | ||
| apt-get install -y --no-install-recommends \ | ||
| musl-dev \ |
There was a problem hiding this comment.
Dev packages not need on publish image
There was a problem hiding this comment.
Without musl-dev I could not get it working. If you manage to get it out, it will be just great.
There was a problem hiding this comment.
Hmmm odd. I should have my buster image on one of my branches. I'll dig it up in the morning and see what else is different.
|
That's strange because of one of images I got you to test at the time was a buster. Maybe there has been an update upstream since then. Anyways glad your issue is fixed because this one has been bugging me for ages. |
|
Today I migrated my script to a different server, and tried the latest docker image. Still got the same problem. But after using this docker image, it complied flawlessly with latest code and works just right. Just FYI, i had this script for last 1.5 years 24/7 in use and it worked flawlessly! I would suggest to replace default |
|
If you want this merged might I recommend some changes. 1: remove the musl I can confirm they are not required (see QuantumEntangledAndy/#20) |
Switching from
alpinetodebian busterfixed my problem #37. Now it seems to fail, when i connect with UDP (strange!) I added it as separate Dockerfile, just as another option. Also, switching to TCP improved image quality.Maybe releated issue: #46.
And then receiving stream using
ffmpeg -y \ -rtsp_transport tcp \ -fflags discardcorrupt \ -i "rtsp://neolink:8554/cam/mainStream?fifo_size=500000000"I don't get any video artifacts at all.