mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-06 03:20:22 +00:00
18 lines
501 B
Docker
18 lines
501 B
Docker
|
FROM heroku/heroku:16
|
||
|
LABEL maintainer michel.promonet@free.fr
|
||
|
|
||
|
WORKDIR /v4l2rtspserver
|
||
|
ADD . /v4l2rtspserver
|
||
|
|
||
|
RUN git clone --depth 1 https://github.com/mpromonet/v4l2tools.git
|
||
|
RUN apt-get update && apt-get install -y --no-install-recommends g++ autoconf automake libtool xz-utils cmake liblivemedia-dev liblog4cpp5-dev libx264-dev libjpeg-dev v4l2loopback-dkms
|
||
|
|
||
|
RUN cmake . && make \
|
||
|
&& make -C v4l2tools \
|
||
|
&& apt-get clean
|
||
|
|
||
|
EXPOSE 8554
|
||
|
|
||
|
ENTRYPOINT [ "./v4l2rtspserver" ]
|
||
|
CMD [ "-S -P ${PORT}" ]
|