2020-03-21 01:20:16 +03:00
|
|
|
# Build
|
|
|
|
FROM prologic/go-builder:latest AS build
|
|
|
|
|
|
|
|
# Runtime
|
2020-03-21 04:03:00 +03:00
|
|
|
FROM golang:alpine
|
|
|
|
|
2020-03-22 11:22:36 +03:00
|
|
|
RUN apk --no-cache -U add git build-base ffmpeg ffmpeg-dev
|
2020-03-21 04:03:00 +03:00
|
|
|
|
|
|
|
RUN go get github.com/mutschler/mt
|
2020-03-21 01:20:16 +03:00
|
|
|
|
|
|
|
COPY --from=build /src/tube /tube
|
|
|
|
|
|
|
|
ENTRYPOINT ["/tube"]
|
|
|
|
CMD [""]
|