From 82969360a49a151c6771f4f950737f8c12a67296 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 29 Sep 2020 15:22:25 +0200 Subject: [PATCH] Remove unused deps in Dockerfile --- Dockerfile | 3 +-- README.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac61dcb..7afec6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Install dependencies then build ghostream FROM golang:1.15-alpine AS build_base -RUN apk add --no-cache build-base gcc +RUN apk add --no-cache gcc musl-dev # libsrt is not yet packaged in community repository RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt-dev WORKDIR /code @@ -11,7 +11,6 @@ RUN go generate && go build -o ./out/ghostream . # Production image FROM alpine:3.12 -RUN apk add ca-certificates RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt COPY --from=build_base /code/out/ghostream /app/ghostream WORKDIR /app diff --git a/README.md b/README.md index 38d2bdc..9dec4e5 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ You can also launch the Docker image using, ``` docker build . -t ghostream -docker run -it --rm -p 8080:8080 -p 2112:2112 -p 9710:9710 ghostream +docker run -it --rm -p 2112:2112 -p 9710:9710 -p 8080:8080 -p 10000-10005:10000-10005/udp ghostream ``` ## Streaming