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 && \