From 5d9cb19bded30ef0dc91520bf0a5f68337f8b49e Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Sat, 7 May 2022 12:21:05 +0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e249a8a..5ff1c67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ +# Fetching our ffmpeg FROM ubuntu:22.04 AS ffmpeg ARG TARGETPLATFORM ENV DEBIAN_FRONTEND=noninteractive -#COPY ffmpeg-fetch.sh . -#RUN sh ./ffmpeg-fetch.sh RUN apt update && \ apt install -y --no-install-recommends wget xz-utils ca-certificates +# Disable using ffmpeg-fetch.sh and integrate in Dockerfile, in case of err 'mismatcth platform' we enable this for counter measure. +#COPY ffmpeg-fetch.sh . +#RUN sh ./ffmpeg-fetch.sh RUN case ${TARGETPLATFORM} in \ "linux/amd64") ARCH=amd64 ;; \ "linux/arm64") ARCH=arm64 ;; \