andrius-asterisk/debian/13.38.3/Dockerfile
2022-05-16 12:07:56 +02:00

18 lines
548 B
Docker

# vim:set ft=dockerfile:
FROM debian:bullseye-slim
LABEL maintainer="Andrius Kairiukstis <k@andrius.mobi>"
ENV ASTERISK_VERSION 13.38.3
ENV OPUS_CODEC asterisk-13.0/x86-64/codec_opus-13.0_current-x86_64
COPY build-asterisk.sh /
RUN /build-asterisk.sh
EXPOSE 5060/udp 5060/tcp
VOLUME /var/lib/asterisk/sounds /var/lib/asterisk/keys /var/lib/asterisk/phoneprov /var/spool/asterisk /var/log/asterisk
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/asterisk", "-vvvdddf", "-T", "-W", "-U", "asterisk", "-p"]