-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (25 loc) · 1.46 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This dockerfile is built using the testing suite since there might be an
# important version gap between stable and testing.
# Testing/Unstable will usually have ffmpeg versions closer to other distributions.
# As of this writing:
# - deb-multimedia's stable (Buster) has ffmpeg v4.1.6
# - deb-multimedia's testing (Bullseye) has ffmpeg v4.3.1
FROM debian:testing-slim
# Standard(ish) labels/annotations (org.opencontainers.*) <https://github.com/opencontainers/image-spec/blob/master/annotations.md>
LABEL maintainer="Toni Corvera <[email protected]>" \
org.opencontainers.image.name="FFmpeg non-free" \
org.opencontainers.image.description="A dockerized FFmpeg compiled with non-free codecs in." \
org.opencontainers.image.url="https://hub.docker.com/repository/docker/outlyernet/ffmpeg-nonfree" \
org.opencontainers.image.source="https://github.com/outlyer-net/docker-ffmpeg-nonfree"
#LABEL org.opencontainers.image.version= # TODO
#LABEL org.opencontainers.image.licenses= # TODO
RUN echo deb http://www.deb-multimedia.org testing main non-free > /etc/apt/sources.list.d/deb-multimedia.list
RUN apt-get update '-oAcquire::AllowInsecureRepositories=true' \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
--allow-unauthenticated \
deb-multimedia-keyring \
ffmpeg \
&& apt-get clean \
&& rm -rf /var/apt/lists/*
ENTRYPOINT [ "/usr/bin/ffmpeg" ]