forked from jrottenberg/ffmpeg
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
42 lines (34 loc) · 1.12 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
30
31
32
33
34
35
36
37
38
39
40
41
# ffmpeg-nodejs
#
# FFMPEG-VERSION 2.8.1-1
# NODEJS-VERSION 4.2.2
# VERSION
#
# From https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
# From https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
#
#
FROM centos:7
MAINTAINER Raman Nanda <[email protected]>
ENV FFMPEG_VERSION=2.8.1 \
MPLAYER_VERSION=1.2 \
YASM_VERSION=1.3.0 \
OGG_VERSION=1.3.2 \
VORBIS_VERSION=1.3.5 \
THEORA_VERSION=1.1.1 \
LAME_VERSION=3.99.5 \
OPUS_VERSION=1.1 \
FAAC_VERSION=1.28 \
VPX_VERSION=1.4.0 \
XVID_VERSION=1.3.4 \
FDKAAC_VERSION=0.1.4 \
X265_VERSION=1.8 \
NODEJS_VERSION=4.2.2
COPY run.sh /tmp/run.sh
# See https://github.com/Raman148/ffmpeg-nodejs/blob/master/run.sh
RUN bash /tmp/run.sh
# Let's make sure the app built correctly
RUN ffmpeg -buildconf
# Make sure Node.js is installed
RUN node -v
RUN npm -v