mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 18:32:19 +00:00
FFMPEG is needed to use stream forward
This commit is contained in:
parent
ddd8be155e
commit
f455950865
@ -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 ./...
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user