~singpolyma/asterisk

ref: 130ba7aeba07eb8bb3ea34418ca458bb58b05080 asterisk/contrib/docker/Dockerfile.asterisk -rw-r--r-- 472 bytes
130ba7ae — Bernhard Schmidt Import asterisk_16.2.1~dfsg.orig.tar.xz 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Version 0.0.3
FROM centos:7
MAINTAINER Leif Madsen <leif@leifmadsen.com>
ENV REFRESHED_AT 2016-02-25
ENV STARTDIR /tmp
ENV RPMPATH ./out

# copy is required because you can't mount volumes during build
COPY $RPMPATH/*.rpm $STARTDIR

# install dependencies and Asterisk RPM
RUN yum install epel-release -y && \
    yum install -y *.rpm && \
    yum clean all && \
    yum autoremove -y && \
    /sbin/ldconfig

ENTRYPOINT ["/usr/sbin/asterisk"]
CMD ["-c", "-vvvv", "-g"]