-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
29 lines (22 loc) · 1.03 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
FROM centos
MAINTAINER Michał Kurzeja accesto.com
RUN rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RUN rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RUN yum -y update
# dependencies
RUN yum -y update && \
yum -y install git java-1.7.0-openjdk ImageMagick ghostscript libreoffice ffmpeg swftools sox && \
yum -y clean all
RUN curl -L http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip \
-o /opt/jodconverter-core-3.0-beta-4-dist.zip && \
unzip /opt/jodconverter-core-3.0-beta-4-dist.zip && \
rm -f /opt/jodconverter-core-3.0-beta-4-dist.zip
RUN cd /opt && ln -s jodconverter-core-3.0-beta-4 jod
# openmeetings itself
RUN mkdir /opt/apache-openmeetings
WORKDIR /opt/apache-openmeetings
ADD http://archive.apache.org/dist/openmeetings/3.0.7/bin/apache-openmeetings-3.0.7.zip /opt/apache-openmeetings
RUN unzip apache-openmeetings-3.0.7.zip && rm apache-openmeetings-3.0.7.zip
# run
EXPOSE 5080 1935 8088 8443 5443
CMD ["/opt/apache-openmeetings/red5.sh"]