1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 13:52:19 +00:00

FFMPEG is needed to use stream forward

This commit is contained in:
Yohann D'ANELLO 2020-09-30 16:59:45 +02:00
parent ddd8be155e
commit f455950865
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ unit_tests:
image: golang:1.15-alpine
stage: test
before_script:
- apk add --no-cache build-base gcc
- apk add --no-cache build-base ffmpeg gcc
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt-dev
script:
- go test -v -covermode=count -coverprofile cover.cov ./...

View File

@ -12,6 +12,7 @@ RUN go generate && go build -o ./out/ghostream .
# Production image
FROM alpine:3.12
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt
RUN apk add ffmpeg
COPY --from=build_base /code/out/ghostream /app/ghostream
WORKDIR /app
# 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC