From aebc3516b10a5dc2010840ba11ac9da5e204e967 Mon Sep 17 00:00:00 2001 From: Benjamin Sherriff Date: Sun, 3 Mar 2024 15:35:32 -0500 Subject: [PATCH] Matched amd64 to x86_64 --- service/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/Dockerfile b/service/Dockerfile index 9bff409..88e744d 100644 --- a/service/Dockerfile +++ b/service/Dockerfile @@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y curl tar xz-utils && \ if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l > yt-dlp && \ chmod +x yt-dlp; \ - elif [ "$TARGETPLATFORM" = "linux/aarch64" ] | [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ + elif [ "$TARGETPLATFORM" = "linux/aarch64" ]; then \ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64 > yt-dlp && \ chmod +x yt-dlp; \ elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ @@ -43,7 +43,7 @@ RUN apt-get update && apt-get install -y curl tar xz-utils && \ chmod +x yt-dlp && \ curl -L https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linuxarm64-gpl.tar.xz > ffmpeg.tar.xz && \ tar -xJf ffmpeg.tar.xz --wildcards */bin/ffmpeg --transform='s/^.*\///' && rm ffmpeg.tar.xz; \ - elif [ "$TARGETPLATFORM" = "linux/x86_64" ]; then \ + elif [ "$TARGETPLATFORM" = "linux/x86_64" ] | [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux > yt-dlp && \ chmod +x yt-dlp && \ curl -L https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz > ffmpeg.tar.xz && \