Skip to content

Commit

Permalink
fix: download yt-dlp directly from github
Browse files Browse the repository at this point in the history
Just discovered the alpine linux package was a bit outdated
  • Loading branch information
TheTipo01 committed Nov 11, 2023
1 parent eff99b9 commit 35399d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -trimpath -ldflags

FROM thetipo01/dca

RUN apk add --no-cache \
ffmpeg \
yt-dlp \
gcompat
RUN apk add --no-cache ffmpeg python3 gcompat

RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/yt-dlp
RUN chmod a+rx /usr/bin/yt-dlp

COPY --from=build /yadmb/yadmb /usr/bin/

Expand Down

0 comments on commit 35399d2

Please sign in to comment.