mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
17 lines
282 B
Docker
17 lines
282 B
Docker
#
|
|
# Dockerfile for rtmp-client-arm
|
|
#
|
|
|
|
FROM vimagick/alpine-arm
|
|
MAINTAINER kev <noreply@easypi.info>
|
|
|
|
RUN set -xe \
|
|
&& apk add -U ffmpeg \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ENV RTMP_DEV=/dev/video0 \
|
|
RTMP_FMT=flv \
|
|
RTMP_URI=
|
|
|
|
CMD ffmpeg -i $RTMP_DEV -f $RTMP_FMT $RTMP_URI
|