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
|
|
|
|
2022-04-30 00:54:16 +03:00
|
|
|
RUN go install github.com/mutschler/mt@latest
|
2020-03-21 01:20:16 +03:00
|
|
|
|
|
|
|
COPY --from=build /src/tube /tube
|
|
|
|
|
|
|
|
ENTRYPOINT ["/tube"]
|
|
|
|
CMD [""]
|