-
Notifications
You must be signed in to change notification settings - Fork 48
/
Dockerfile
24 lines (17 loc) · 1.02 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
FROM gliderlabs/alpine:3.3
MAINTAINER Bruno Celeste <[email protected]>
ENV FFMPEG_VERSION=3.0.2
WORKDIR /tmp/ffmpeg
RUN apk add --update build-base curl nasm tar bzip2 \
zlib-dev openssl-dev yasm-dev lame-dev libogg-dev x264-dev libvpx-dev libvorbis-dev x265-dev freetype-dev libass-dev libwebp-dev rtmpdump-dev libtheora-dev opus-dev && \
DIR=$(mktemp -d) && cd ${DIR} && \
curl -s http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz | tar zxvf - -C . && \
cd ffmpeg-${FFMPEG_VERSION} && \
./configure \
--enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libass --enable-libwebp --enable-librtmp --enable-postproc --enable-avresample --enable-libfreetype --enable-openssl --disable-debug && \
make && \
make install && \
make distclean && \
rm -rf ${DIR} && \
apk del build-base curl tar bzip2 x264 openssl nasm && rm -rf /var/cache/apk/*
ENTRYPOINT ["ffmpeg"]