diff --git a/Makefile b/Makefile index 8b51881..1622c29 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -DISTS ?= bookworm bullseye buster jessie stretch wheezy jammy focal bionic trusty xenial +DISTS ?= bookworm bullseye buster stretch jammy focal bionic xenial -VERSION ?= 5.5.0 +VERSION ?= 5.7.3 all: clean for i in $(DISTS) ; do \ diff --git a/bionic/Dockerfile b/bionic/Dockerfile new file mode 100644 index 0000000..f49ed09 --- /dev/null +++ b/bionic/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:bionic + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 bionic main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+ubuntu18.04 kamailio-autheph-modules=5.7.3+ubuntu18.04 kamailio-berkeley-bin=5.7.3+ubuntu18.04 kamailio-berkeley-modules=5.7.3+ubuntu18.04 kamailio-cnxcc-modules=5.7.3+ubuntu18.04 kamailio-cpl-modules=5.7.3+ubuntu18.04 kamailio-dbg=5.7.3+ubuntu18.04 kamailio-erlang-modules=5.7.3+ubuntu18.04 kamailio-extra-modules=5.7.3+ubuntu18.04 kamailio-geoip-modules=5.7.3+ubuntu18.04 kamailio-geoip2-modules=5.7.3+ubuntu18.04 kamailio-ims-modules=5.7.3+ubuntu18.04 kamailio-json-modules=5.7.3+ubuntu18.04 kamailio-kazoo-modules=5.7.3+ubuntu18.04 kamailio-ldap-modules=5.7.3+ubuntu18.04 kamailio-lua-modules=5.7.3+ubuntu18.04 kamailio-memcached-modules=5.7.3+ubuntu18.04 kamailio-mongodb-modules=5.7.3+ubuntu18.04 kamailio-mono-modules=5.7.3+ubuntu18.04 kamailio-mqtt-modules=5.7.3+ubuntu18.04 kamailio-mysql-modules=5.7.3+ubuntu18.04 kamailio-nth=5.7.3+ubuntu18.04 kamailio-outbound-modules=5.7.3+ubuntu18.04 kamailio-perl-modules=5.7.3+ubuntu18.04 kamailio-phonenum-modules=5.7.3+ubuntu18.04 kamailio-postgres-modules=5.7.3+ubuntu18.04 kamailio-presence-modules=5.7.3+ubuntu18.04 kamailio-python-modules=5.7.3+ubuntu18.04 kamailio-python3-modules=5.7.3+ubuntu18.04 kamailio-rabbitmq-modules=5.7.3+ubuntu18.04 kamailio-radius-modules=5.7.3+ubuntu18.04 kamailio-redis-modules=5.7.3+ubuntu18.04 kamailio-ruby-modules=5.7.3+ubuntu18.04 kamailio-sctp-modules=5.7.3+ubuntu18.04 kamailio-snmpstats-modules=5.7.3+ubuntu18.04 kamailio-sqlite-modules=5.7.3+ubuntu18.04 kamailio-systemd-modules=5.7.3+ubuntu18.04 kamailio-tls-modules=5.7.3+ubuntu18.04 kamailio-unixodbc-modules=5.7.3+ubuntu18.04 kamailio-utils-modules=5.7.3+ubuntu18.04 kamailio-websocket-modules=5.7.3+ubuntu18.04 kamailio-xml-modules=5.7.3+ubuntu18.04 kamailio-xmpp-modules=5.7.3+ubuntu18.04 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/bookworm/Dockerfile b/bookworm/Dockerfile new file mode 100644 index 0000000..b7618ae --- /dev/null +++ b/bookworm/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:bookworm + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 bookworm main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O /tmp/kamailiodebkey.gpg http://deb.kamailio.org/kamailiodebkey.gpg && gpg --output /etc/apt/trusted.gpg.d/deb-kamailio-org.gpg --dearmor /tmp/kamailiodebkey.gpg +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+bpo12 kamailio-autheph-modules=5.7.3+bpo12 kamailio-berkeley-bin=5.7.3+bpo12 kamailio-berkeley-modules=5.7.3+bpo12 kamailio-cnxcc-modules=5.7.3+bpo12 kamailio-cpl-modules=5.7.3+bpo12 kamailio-dbg=5.7.3+bpo12 kamailio-erlang-modules=5.7.3+bpo12 kamailio-extra-modules=5.7.3+bpo12 kamailio-geoip-modules=5.7.3+bpo12 kamailio-geoip2-modules=5.7.3+bpo12 kamailio-ims-modules=5.7.3+bpo12 kamailio-json-modules=5.7.3+bpo12 kamailio-kazoo-modules=5.7.3+bpo12 kamailio-ldap-modules=5.7.3+bpo12 kamailio-lua-modules=5.7.3+bpo12 kamailio-lwsc-modules=5.7.3+bpo12 kamailio-memcached-modules=5.7.3+bpo12 kamailio-mongodb-modules=5.7.3+bpo12 kamailio-mono-modules=5.7.3+bpo12 kamailio-mqtt-modules=5.7.3+bpo12 kamailio-mysql-modules=5.7.3+bpo12 kamailio-nats-modules=5.7.3+bpo12 kamailio-nth=5.7.3+bpo12 kamailio-outbound-modules=5.7.3+bpo12 kamailio-perl-modules=5.7.3+bpo12 kamailio-phonenum-modules=5.7.3+bpo12 kamailio-postgres-modules=5.7.3+bpo12 kamailio-presence-modules=5.7.3+bpo12 kamailio-python3-modules=5.7.3+bpo12 kamailio-rabbitmq-modules=5.7.3+bpo12 kamailio-radius-modules=5.7.3+bpo12 kamailio-redis-modules=5.7.3+bpo12 kamailio-ruby-modules=5.7.3+bpo12 kamailio-sctp-modules=5.7.3+bpo12 kamailio-secsipid-modules=5.7.3+bpo12 kamailio-snmpstats-modules=5.7.3+bpo12 kamailio-sqlite-modules=5.7.3+bpo12 kamailio-systemd-modules=5.7.3+bpo12 kamailio-tls-modules=5.7.3+bpo12 kamailio-unixodbc-modules=5.7.3+bpo12 kamailio-utils-modules=5.7.3+bpo12 kamailio-websocket-modules=5.7.3+bpo12 kamailio-xml-modules=5.7.3+bpo12 kamailio-xmpp-modules=5.7.3+bpo12 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/bullseye/Dockerfile b/bullseye/Dockerfile new file mode 100644 index 0000000..6c6f333 --- /dev/null +++ b/bullseye/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:bullseye + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 bullseye main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+bpo11 kamailio-autheph-modules=5.7.3+bpo11 kamailio-berkeley-bin=5.7.3+bpo11 kamailio-berkeley-modules=5.7.3+bpo11 kamailio-cnxcc-modules=5.7.3+bpo11 kamailio-cpl-modules=5.7.3+bpo11 kamailio-dbg=5.7.3+bpo11 kamailio-erlang-modules=5.7.3+bpo11 kamailio-extra-modules=5.7.3+bpo11 kamailio-geoip-modules=5.7.3+bpo11 kamailio-geoip2-modules=5.7.3+bpo11 kamailio-ims-modules=5.7.3+bpo11 kamailio-json-modules=5.7.3+bpo11 kamailio-kazoo-modules=5.7.3+bpo11 kamailio-ldap-modules=5.7.3+bpo11 kamailio-lua-modules=5.7.3+bpo11 kamailio-lwsc-modules=5.7.3+bpo11 kamailio-memcached-modules=5.7.3+bpo11 kamailio-mongodb-modules=5.7.3+bpo11 kamailio-mono-modules=5.7.3+bpo11 kamailio-mqtt-modules=5.7.3+bpo11 kamailio-mysql-modules=5.7.3+bpo11 kamailio-nth=5.7.3+bpo11 kamailio-outbound-modules=5.7.3+bpo11 kamailio-perl-modules=5.7.3+bpo11 kamailio-phonenum-modules=5.7.3+bpo11 kamailio-postgres-modules=5.7.3+bpo11 kamailio-presence-modules=5.7.3+bpo11 kamailio-python-modules=5.7.3+bpo11 kamailio-python3-modules=5.7.3+bpo11 kamailio-rabbitmq-modules=5.7.3+bpo11 kamailio-radius-modules=5.7.3+bpo11 kamailio-redis-modules=5.7.3+bpo11 kamailio-ruby-modules=5.7.3+bpo11 kamailio-sctp-modules=5.7.3+bpo11 kamailio-secsipid-modules=5.7.3+bpo11 kamailio-snmpstats-modules=5.7.3+bpo11 kamailio-sqlite-modules=5.7.3+bpo11 kamailio-systemd-modules=5.7.3+bpo11 kamailio-tls-modules=5.7.3+bpo11 kamailio-unixodbc-modules=5.7.3+bpo11 kamailio-utils-modules=5.7.3+bpo11 kamailio-websocket-modules=5.7.3+bpo11 kamailio-xml-modules=5.7.3+bpo11 kamailio-xmpp-modules=5.7.3+bpo11 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/buster/Dockerfile b/buster/Dockerfile new file mode 100644 index 0000000..882d6d6 --- /dev/null +++ b/buster/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:buster + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 buster main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+bpo10 kamailio-autheph-modules=5.7.3+bpo10 kamailio-berkeley-bin=5.7.3+bpo10 kamailio-berkeley-modules=5.7.3+bpo10 kamailio-cnxcc-modules=5.7.3+bpo10 kamailio-cpl-modules=5.7.3+bpo10 kamailio-dbg=5.7.3+bpo10 kamailio-erlang-modules=5.7.3+bpo10 kamailio-extra-modules=5.7.3+bpo10 kamailio-geoip-modules=5.7.3+bpo10 kamailio-geoip2-modules=5.7.3+bpo10 kamailio-ims-modules=5.7.3+bpo10 kamailio-json-modules=5.7.3+bpo10 kamailio-kazoo-modules=5.7.3+bpo10 kamailio-ldap-modules=5.7.3+bpo10 kamailio-lua-modules=5.7.3+bpo10 kamailio-memcached-modules=5.7.3+bpo10 kamailio-mongodb-modules=5.7.3+bpo10 kamailio-mono-modules=5.7.3+bpo10 kamailio-mqtt-modules=5.7.3+bpo10 kamailio-mysql-modules=5.7.3+bpo10 kamailio-nth=5.7.3+bpo10 kamailio-outbound-modules=5.7.3+bpo10 kamailio-perl-modules=5.7.3+bpo10 kamailio-phonenum-modules=5.7.3+bpo10 kamailio-postgres-modules=5.7.3+bpo10 kamailio-presence-modules=5.7.3+bpo10 kamailio-python-modules=5.7.3+bpo10 kamailio-python3-modules=5.7.3+bpo10 kamailio-rabbitmq-modules=5.7.3+bpo10 kamailio-radius-modules=5.7.3+bpo10 kamailio-redis-modules=5.7.3+bpo10 kamailio-ruby-modules=5.7.3+bpo10 kamailio-sctp-modules=5.7.3+bpo10 kamailio-snmpstats-modules=5.7.3+bpo10 kamailio-sqlite-modules=5.7.3+bpo10 kamailio-systemd-modules=5.7.3+bpo10 kamailio-tls-modules=5.7.3+bpo10 kamailio-unixodbc-modules=5.7.3+bpo10 kamailio-utils-modules=5.7.3+bpo10 kamailio-websocket-modules=5.7.3+bpo10 kamailio-xml-modules=5.7.3+bpo10 kamailio-xmpp-modules=5.7.3+bpo10 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/focal/Dockerfile b/focal/Dockerfile new file mode 100644 index 0000000..f67156c --- /dev/null +++ b/focal/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:focal + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 focal main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+ubuntu20.04 kamailio-autheph-modules=5.7.3+ubuntu20.04 kamailio-berkeley-bin=5.7.3+ubuntu20.04 kamailio-berkeley-modules=5.7.3+ubuntu20.04 kamailio-cnxcc-modules=5.7.3+ubuntu20.04 kamailio-cpl-modules=5.7.3+ubuntu20.04 kamailio-dbg=5.7.3+ubuntu20.04 kamailio-erlang-modules=5.7.3+ubuntu20.04 kamailio-extra-modules=5.7.3+ubuntu20.04 kamailio-geoip-modules=5.7.3+ubuntu20.04 kamailio-geoip2-modules=5.7.3+ubuntu20.04 kamailio-ims-modules=5.7.3+ubuntu20.04 kamailio-json-modules=5.7.3+ubuntu20.04 kamailio-kazoo-modules=5.7.3+ubuntu20.04 kamailio-ldap-modules=5.7.3+ubuntu20.04 kamailio-lua-modules=5.7.3+ubuntu20.04 kamailio-lwsc-modules=5.7.3+ubuntu20.04 kamailio-memcached-modules=5.7.3+ubuntu20.04 kamailio-mongodb-modules=5.7.3+ubuntu20.04 kamailio-mono-modules=5.7.3+ubuntu20.04 kamailio-mqtt-modules=5.7.3+ubuntu20.04 kamailio-mysql-modules=5.7.3+ubuntu20.04 kamailio-nth=5.7.3+ubuntu20.04 kamailio-outbound-modules=5.7.3+ubuntu20.04 kamailio-perl-modules=5.7.3+ubuntu20.04 kamailio-phonenum-modules=5.7.3+ubuntu20.04 kamailio-postgres-modules=5.7.3+ubuntu20.04 kamailio-presence-modules=5.7.3+ubuntu20.04 kamailio-python-modules=5.7.3+ubuntu20.04 kamailio-python3-modules=5.7.3+ubuntu20.04 kamailio-rabbitmq-modules=5.7.3+ubuntu20.04 kamailio-radius-modules=5.7.3+ubuntu20.04 kamailio-redis-modules=5.7.3+ubuntu20.04 kamailio-ruby-modules=5.7.3+ubuntu20.04 kamailio-sctp-modules=5.7.3+ubuntu20.04 kamailio-snmpstats-modules=5.7.3+ubuntu20.04 kamailio-sqlite-modules=5.7.3+ubuntu20.04 kamailio-systemd-modules=5.7.3+ubuntu20.04 kamailio-tls-modules=5.7.3+ubuntu20.04 kamailio-unixodbc-modules=5.7.3+ubuntu20.04 kamailio-utils-modules=5.7.3+ubuntu20.04 kamailio-websocket-modules=5.7.3+ubuntu20.04 kamailio-xml-modules=5.7.3+ubuntu20.04 kamailio-xmpp-modules=5.7.3+ubuntu20.04 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/jammy/Dockerfile b/jammy/Dockerfile new file mode 100644 index 0000000..36271ed --- /dev/null +++ b/jammy/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:jammy + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 jammy main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+ubuntu22.04 kamailio-autheph-modules=5.7.3+ubuntu22.04 kamailio-berkeley-bin=5.7.3+ubuntu22.04 kamailio-berkeley-modules=5.7.3+ubuntu22.04 kamailio-cnxcc-modules=5.7.3+ubuntu22.04 kamailio-cpl-modules=5.7.3+ubuntu22.04 kamailio-dbg=5.7.3+ubuntu22.04 kamailio-erlang-modules=5.7.3+ubuntu22.04 kamailio-extra-modules=5.7.3+ubuntu22.04 kamailio-geoip-modules=5.7.3+ubuntu22.04 kamailio-geoip2-modules=5.7.3+ubuntu22.04 kamailio-ims-modules=5.7.3+ubuntu22.04 kamailio-json-modules=5.7.3+ubuntu22.04 kamailio-kazoo-modules=5.7.3+ubuntu22.04 kamailio-ldap-modules=5.7.3+ubuntu22.04 kamailio-lua-modules=5.7.3+ubuntu22.04 kamailio-lwsc-modules=5.7.3+ubuntu22.04 kamailio-memcached-modules=5.7.3+ubuntu22.04 kamailio-mongodb-modules=5.7.3+ubuntu22.04 kamailio-mono-modules=5.7.3+ubuntu22.04 kamailio-mqtt-modules=5.7.3+ubuntu22.04 kamailio-mysql-modules=5.7.3+ubuntu22.04 kamailio-nats-modules=5.7.3+ubuntu22.04 kamailio-nth=5.7.3+ubuntu22.04 kamailio-outbound-modules=5.7.3+ubuntu22.04 kamailio-perl-modules=5.7.3+ubuntu22.04 kamailio-phonenum-modules=5.7.3+ubuntu22.04 kamailio-postgres-modules=5.7.3+ubuntu22.04 kamailio-presence-modules=5.7.3+ubuntu22.04 kamailio-python3-modules=5.7.3+ubuntu22.04 kamailio-rabbitmq-modules=5.7.3+ubuntu22.04 kamailio-radius-modules=5.7.3+ubuntu22.04 kamailio-redis-modules=5.7.3+ubuntu22.04 kamailio-ruby-modules=5.7.3+ubuntu22.04 kamailio-sctp-modules=5.7.3+ubuntu22.04 kamailio-secsipid-modules=5.7.3+ubuntu22.04 kamailio-snmpstats-modules=5.7.3+ubuntu22.04 kamailio-sqlite-modules=5.7.3+ubuntu22.04 kamailio-systemd-modules=5.7.3+ubuntu22.04 kamailio-tls-modules=5.7.3+ubuntu22.04 kamailio-unixodbc-modules=5.7.3+ubuntu22.04 kamailio-utils-modules=5.7.3+ubuntu22.04 kamailio-websocket-modules=5.7.3+ubuntu22.04 kamailio-xml-modules=5.7.3+ubuntu22.04 kamailio-xmpp-modules=5.7.3+ubuntu22.04 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/stretch/Dockerfile b/stretch/Dockerfile new file mode 100644 index 0000000..f68e30b --- /dev/null +++ b/stretch/Dockerfile @@ -0,0 +1,22 @@ +FROM debian/eol:stretch + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 stretch main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+bpo9 kamailio-autheph-modules=5.7.3+bpo9 kamailio-berkeley-bin=5.7.3+bpo9 kamailio-berkeley-modules=5.7.3+bpo9 kamailio-cnxcc-modules=5.7.3+bpo9 kamailio-cpl-modules=5.7.3+bpo9 kamailio-dbg=5.7.3+bpo9 kamailio-erlang-modules=5.7.3+bpo9 kamailio-extra-modules=5.7.3+bpo9 kamailio-geoip-modules=5.7.3+bpo9 kamailio-geoip2-modules=5.7.3+bpo9 kamailio-ims-modules=5.7.3+bpo9 kamailio-java-modules=5.7.3+bpo9 kamailio-json-modules=5.7.3+bpo9 kamailio-kazoo-modules=5.7.3+bpo9 kamailio-ldap-modules=5.7.3+bpo9 kamailio-lua-modules=5.7.3+bpo9 kamailio-memcached-modules=5.7.3+bpo9 kamailio-mongodb-modules=5.7.3+bpo9 kamailio-mono-modules=5.7.3+bpo9 kamailio-mqtt-modules=5.7.3+bpo9 kamailio-mysql-modules=5.7.3+bpo9 kamailio-nth=5.7.3+bpo9 kamailio-outbound-modules=5.7.3+bpo9 kamailio-perl-modules=5.7.3+bpo9 kamailio-phonenum-modules=5.7.3+bpo9 kamailio-postgres-modules=5.7.3+bpo9 kamailio-presence-modules=5.7.3+bpo9 kamailio-python-modules=5.7.3+bpo9 kamailio-python3-modules=5.7.3+bpo9 kamailio-rabbitmq-modules=5.7.3+bpo9 kamailio-radius-modules=5.7.3+bpo9 kamailio-redis-modules=5.7.3+bpo9 kamailio-ruby-modules=5.7.3+bpo9 kamailio-sctp-modules=5.7.3+bpo9 kamailio-snmpstats-modules=5.7.3+bpo9 kamailio-sqlite-modules=5.7.3+bpo9 kamailio-systemd-modules=5.7.3+bpo9 kamailio-tls-modules=5.7.3+bpo9 kamailio-unixodbc-modules=5.7.3+bpo9 kamailio-utils-modules=5.7.3+bpo9 kamailio-websocket-modules=5.7.3+bpo9 kamailio-xml-modules=5.7.3+bpo9 kamailio-xmpp-modules=5.7.3+bpo9 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY} diff --git a/xenial/Dockerfile b/xenial/Dockerfile new file mode 100644 index 0000000..45d7c7f --- /dev/null +++ b/xenial/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:xenial + +LABEL org.opencontainers.image.authors Victor Seva + +# Important! Update this no-op ENV variable when this Dockerfile +# is updated with the current date. It will force refresh of all +# of the base images and things like 'apt-get update' won't be using +# old cached versions when the Dockerfile is built. +ENV REFRESHED_AT 2024-01-23 + +RUN rm -rf /var/lib/apt/lists/* && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes gnupg wget apt-transport-https +# kamailio repo +RUN echo "deb http://deb-archive.kamailio.org/repos/kamailio-5.7.3 xenial main" > /etc/apt/sources.list.d/kamailio.list +RUN wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq --assume-yes kamailio=5.7.3+ubuntu16.04 kamailio-autheph-modules=5.7.3+ubuntu16.04 kamailio-berkeley-bin=5.7.3+ubuntu16.04 kamailio-berkeley-modules=5.7.3+ubuntu16.04 kamailio-cnxcc-modules=5.7.3+ubuntu16.04 kamailio-cpl-modules=5.7.3+ubuntu16.04 kamailio-dbg=5.7.3+ubuntu16.04 kamailio-dnssec-modules=5.7.3+ubuntu16.04 kamailio-erlang-modules=5.7.3+ubuntu16.04 kamailio-extra-modules=5.7.3+ubuntu16.04 kamailio-geoip-modules=5.7.3+ubuntu16.04 kamailio-geoip2-modules=5.7.3+ubuntu16.04 kamailio-ims-modules=5.7.3+ubuntu16.04 kamailio-java-modules=5.7.3+ubuntu16.04 kamailio-json-modules=5.7.3+ubuntu16.04 kamailio-kazoo-modules=5.7.3+ubuntu16.04 kamailio-ldap-modules=5.7.3+ubuntu16.04 kamailio-lua-modules=5.7.3+ubuntu16.04 kamailio-memcached-modules=5.7.3+ubuntu16.04 kamailio-mongodb-modules=5.7.3+ubuntu16.04 kamailio-mono-modules=5.7.3+ubuntu16.04 kamailio-mqtt-modules=5.7.3+ubuntu16.04 kamailio-mysql-modules=5.7.3+ubuntu16.04 kamailio-nth=5.7.3+ubuntu16.04 kamailio-outbound-modules=5.7.3+ubuntu16.04 kamailio-perl-modules=5.7.3+ubuntu16.04 kamailio-phonenum-modules=5.7.3+ubuntu16.04 kamailio-postgres-modules=5.7.3+ubuntu16.04 kamailio-presence-modules=5.7.3+ubuntu16.04 kamailio-python-modules=5.7.3+ubuntu16.04 kamailio-python3-modules=5.7.3+ubuntu16.04 kamailio-rabbitmq-modules=5.7.3+ubuntu16.04 kamailio-radius-modules=5.7.3+ubuntu16.04 kamailio-redis-modules=5.7.3+ubuntu16.04 kamailio-ruby-modules=5.7.3+ubuntu16.04 kamailio-sctp-modules=5.7.3+ubuntu16.04 kamailio-snmpstats-modules=5.7.3+ubuntu16.04 kamailio-sqlite-modules=5.7.3+ubuntu16.04 kamailio-systemd-modules=5.7.3+ubuntu16.04 kamailio-tls-modules=5.7.3+ubuntu16.04 kamailio-unixodbc-modules=5.7.3+ubuntu16.04 kamailio-utils-modules=5.7.3+ubuntu16.04 kamailio-websocket-modules=5.7.3+ubuntu16.04 kamailio-xml-modules=5.7.3+ubuntu16.04 kamailio-xmpp-modules=5.7.3+ubuntu16.04 && apt-get clean && rm -rf /var/lib/apt/lists/* + +# set SHM_MEMORY and PKG_MEMORY from ENV +ENV SHM_MEMORY=64 +ENV PKG_MEMORY=8 + +VOLUME /etc/kamailio +ENTRYPOINT kamailio -DD -E -m ${SHM_MEMORY} -M ${PKG_MEMORY}