Asterisk 16 released
This commit is contained in:
@@ -3,7 +3,7 @@ FROM debian:stretch-slim
|
||||
|
||||
LABEL maintainer="Andrius Kairiukstis <k@andrius.mobi>"
|
||||
|
||||
ENV ASTERISK_VERSION 16.0.0-rc3
|
||||
ENV ASTERISK_VERSION 16-current
|
||||
ENV OPUS_CODEC asterisk-16.0/x86-64/codec_opus-16.0_current-x86_64
|
||||
|
||||
COPY build-asterisk.sh /
|
||||
@@ -33,6 +33,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-i
|
||||
libvorbis-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
procps \
|
||||
portaudio19-dev \
|
||||
unixodbc \
|
||||
unixodbc-bin \
|
||||
@@ -14,12 +14,11 @@ if [ "${ASTERISK_UID}" != "" ] && [ "${ASTERISK_GID}" != "" ]; then
|
||||
# if they've sent as env variables (i.e. to macth with host user to fix permissions for mounted folders
|
||||
|
||||
deluser asterisk && \
|
||||
adduser --gecos "" --no-create-home --uid ${ASTERISK_UID} --disabled-password ${ASTERISK_USER} \
|
||||
|| exit
|
||||
adduser --gecos "" --no-create-home --uid ${ASTERISK_UID} --disabled-password ${ASTERISK_USER} || exit
|
||||
|
||||
chown -R ${ASTERISK_UID}:${ASTERISK_UID} /etc/asterisk \
|
||||
/var/*/asterisk \
|
||||
/usr/*/asterisk
|
||||
fi
|
||||
|
||||
chown -R ${ASTERISK_USER}: /var/log/asterisk \
|
||||
/var/lib/asterisk \
|
||||
/var/run/asterisk \
|
||||
/var/spool/asterisk; \
|
||||
exec ${COMMAND}
|
||||
Reference in New Issue
Block a user