更新 'alpine-glibc/Dockerfile'
This commit is contained in:
parent
bd38b10f02
commit
f6d4c9a86d
@ -1,7 +1,7 @@
|
|||||||
# vim:set ft=dockerfile:
|
# vim:set ft=dockerfile:
|
||||||
#FROM frolvlad/alpine-glibc
|
#FROM frolvlad/alpine-glibc
|
||||||
|
|
||||||
FROM andrius/asterisk:alpine-16.3.0
|
FROM andrius/asterisk:alpine-glibc-13.17.2
|
||||||
|
|
||||||
|
|
||||||
LABEL maintainer="Andrius Kairiukstis <k@andrius.mobi>"
|
LABEL maintainer="Andrius Kairiukstis <k@andrius.mobi>"
|
||||||
@ -11,6 +11,7 @@ RUN apk add --update --no-cache --quiet \
|
|||||||
asterisk-sample-config \
|
asterisk-sample-config \
|
||||||
asterisk-dahdi \
|
asterisk-dahdi \
|
||||||
asterisk-sounds-en \
|
asterisk-sounds-en \
|
||||||
|
asterisk-speex \
|
||||||
>/dev/null \
|
>/dev/null \
|
||||||
&& asterisk -U asterisk &>/dev/null \
|
&& asterisk -U asterisk &>/dev/null \
|
||||||
&& sleep 5s \
|
&& sleep 5s \
|
||||||
@ -28,7 +29,7 @@ RUN apk add --update --no-cache --quiet \
|
|||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/tmp/*
|
/var/tmp/*
|
||||||
|
|
||||||
EXPOSE 5060/udp 5060/tcp
|
EXPOSE 5060/udp 5060/tcp 4569/udp
|
||||||
VOLUME /var/lib/asterisk/sounds /var/lib/asterisk/keys /var/lib/asterisk/phoneprov /var/spool/asterisk /var/log/asterisk
|
VOLUME /var/lib/asterisk/sounds /var/lib/asterisk/keys /var/lib/asterisk/phoneprov /var/spool/asterisk /var/log/asterisk
|
||||||
|
|
||||||
ADD docker-entrypoint.sh /docker-entrypoint.sh
|
ADD docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user