-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (24 loc) · 997 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
FROM centos:7
## SOX
# install wget,make
RUN yum -y install wget make
# install RPMS
RUN wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm &&\
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# install dependences for sox
RUN yum -y install gcc-c++ libmad libmad-devel libid3tag libid3tag-devel lame lame-devel flac-devel libvorbis-devel
# download and install sox
# make: A GNU tool which simplifies the build process for users
RUN wget https://nchc.dl.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.gz &&\
tar -xvzf sox-14.4.2.tar.gz &&\
cd sox-14.4.2 &&\
./configure &&\
make -s &&\
make install
# FMMPEG
# install EPEL software repository
RUN yum -y install epel-release
# install RPM Fusion repository
RUN yum -y localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
# install ffmpeg
RUN yum -y install ffmpeg ffmpeg-devel