22 lines
597 B
Docker
22 lines
597 B
Docker
FROM ubuntu:24.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
asterisk \
|
|
ca-certificates \
|
|
curl \
|
|
openssl \
|
|
python3 \
|
|
procps \
|
|
uuid-runtime \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY deployment/asterisk/entrypoint.sh /usr/local/bin/mvpcc-asterisk-entrypoint.sh
|
|
|
|
RUN chmod +x /usr/local/bin/mvpcc-asterisk-entrypoint.sh \
|
|
&& mkdir -p /config-template /assets /etc/asterisk/keys /var/spool/asterisk/monitor/mvpcc
|
|
|
|
ENTRYPOINT ["/usr/local/bin/mvpcc-asterisk-entrypoint.sh"]
|