mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-12 11:41:29 +03:00
Update Dockerfile
This commit is contained in:
committed by
GitHub
parent
a21dc85d15
commit
5d9cb19bde
@@ -1,10 +1,12 @@
|
|||||||
|
# Fetching our ffmpeg
|
||||||
FROM ubuntu:22.04 AS ffmpeg
|
FROM ubuntu:22.04 AS ffmpeg
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
#COPY ffmpeg-fetch.sh .
|
|
||||||
#RUN sh ./ffmpeg-fetch.sh
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y --no-install-recommends wget xz-utils ca-certificates
|
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 \
|
RUN case ${TARGETPLATFORM} in \
|
||||||
"linux/amd64") ARCH=amd64 ;; \
|
"linux/amd64") ARCH=amd64 ;; \
|
||||||
"linux/arm64") ARCH=arm64 ;; \
|
"linux/arm64") ARCH=arm64 ;; \
|
||||||
|
|||||||
Reference in New Issue
Block a user