Build specific Docker Image with yt-dlp

This commit is contained in:
Th0masL
2022-06-12 15:11:07 +03:00
parent 7fc950fba5
commit 2b0966f285
2 changed files with 18 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# This is a template to be used by GoReleaser.
# See docs for details: https://goreleaser.com/customization/docker/
FROM alpine:3.10
WORKDIR /app
RUN wget -O /usr/bin/youtube-dl https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp && \
chmod +x /usr/bin/youtube-dl && \
apk --no-cache add ca-certificates python3 py3-pip ffmpeg tzdata
COPY podsync /app/podsync
ENTRYPOINT ["/app/podsync"]
CMD ["--no-banner"]
+4
View File
@@ -19,6 +19,10 @@ docker:
docker build -t $(TAG) .
docker push $(TAG)
# Also build the Docker image with yt-dlp
docker build -t $(TAG)-ytdlp -f Dockerfile-ytdlp .
docker push $(TAG)-ytdlp
#
# Run unit tests
#