Files
rtsp-simple-server/bench/read/Dockerfile
Alessandro Ros 853fd42e46
Some checks failed
apidocs
code
mod-tidy
test32
test64
test_highlevel
bump Golang to 1.20 (#1602)
2023-03-25 11:48:31 +01:00

20 lines
329 B
Docker

FROM golang:1.20-alpine3.17
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
COPY . ./
RUN go build -o /rtsp-simple-server .
COPY bench/read/start.sh /
RUN chmod +x /start.sh
ENTRYPOINT [ "/start.sh" ]