-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
56 lines (47 loc) · 901 Bytes
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -v $PWD/build/linux/$ARCH:/ffmpeg-build-script/workspace/
FROM debian
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
subversion \
ragel \
curl \
texinfo \
g++ \
bison \
flex \
cvs \
yasm \
automake \
libtool \
autoconf \
gcc \
cmake \
git \
make \
pkg-config \
zlib1g-dev \
unzip \
pax \
nasm \
gperf \
autogen \
bzip2 \
autoconf-archive \
p7zip-full \
meson \
clang \
python \
python3-setuptools \
wget \
ed
RUN apt-get -y install build-essential curl
COPY ffmpeg-build-script /ffmpeg-build-script
COPY build.sh /build.sh
WORKDIR /ffmpeg-build-script
COPY packages packages
RUN rm -f packages/*.done
RUN /build.sh
FROM debian
RUN mkdir -p /workspace
COPY --from=0 /ffmpeg-build-script/workspace/bin/ffmpeg /workspace/ffmpeg