mediamtx/bench/proxy/Dockerfile

20 lines
330 B
Docker
Raw Normal View History

2022-09-17 18:18:07 +00:00
FROM golang:1.18-alpine3.14
2020-09-18 17:59:07 +00:00
RUN apk add --no-cache \
ffmpeg
RUN wget -O /video.mkv http://jell.yfish.us/media/jellyfish-10-mbps-hd-h264.mkv
WORKDIR /s
COPY go.mod go.sum ./
RUN go mod download
2020-10-28 20:55:46 +00:00
COPY . ./
2020-09-18 17:59:07 +00:00
RUN go build -o /rtsp-simple-server .
COPY bench/proxy/start.sh /
2020-09-18 17:59:07 +00:00
RUN chmod +x /start.sh
ENTRYPOINT [ "/start.sh" ]