include ffmpeg
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-11 12:42:01 +11:00
parent a04b0ede50
commit 339d2d0aa5
2 changed files with 19 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ RUN XTEVE_VERSION="$(grep -m1 '^#### ' changelog-beta.md | cut -d' ' -f2 | sed '
&& CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
go build -trimpath -ldflags="-s -w -X main.Version=$XTEVE_VERSION" -o /out/xteve ./xteve.go
FROM mwader/static-ffmpeg:latest AS ffmpeg
FROM alpine:3.23
RUN apk add --no-cache ca-certificates tzdata \
@@ -28,6 +30,8 @@ RUN apk add --no-cache ca-certificates tzdata \
WORKDIR /xteve
COPY --from=builder /out/xteve /usr/local/bin/xteve
COPY --from=ffmpeg /ffmpeg /usr/local/bin/ffmpeg
COPY --from=ffmpeg /ffprobe /usr/local/bin/ffprobe
COPY docker/entrypoint.sh /usr/local/bin/docker-entrypoint.sh
USER xteve