Skip to content

Commit

Permalink
upgrade kamailio build using bullseye (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: KevinAtLeap <[email protected]>
  • Loading branch information
kevinnguyenai and KevinAtLeap authored Jul 16, 2023
1 parent 95e453c commit e20cd2a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 18 deletions.
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
url = https://github.com/sipcapture/homer5-docker.git
[submodule "docker-asterisk"]
path = docker-asterisk
url = https://github.com/dougbtv/docker-asterisk.git
url = https://github.com/dougbtv/docker-asterisk.git
[submodule "kamailio-ci"]
path = kamailio-ci
url = https://github.com/kamailio/kamailio-ci.git
1 change: 1 addition & 0 deletions kamailio-ci
Submodule kamailio-ci added at 5c45c0
46 changes: 29 additions & 17 deletions kamailio/Ubuntu/Dockerfile2
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
#Kamailio Test Stuff
FROM kamailio/kamailio:5.5.0-stretch
FROM ocpasia/kamailio:bullseye-5.6.0

ENV DIST=bullseye
ENV REL=latest

# install additional package
RUN apt-get update
RUN apt-get install -y curl ntpdate lsb-release locales htop \
mc git gcc flex build-essential libglib2.0-dev \
make libssl-dev libcurl4-openssl-dev make \
libxml2-dev libpcre3-dev libexpat1-dev \
mysql-client libunistring-dev apt-utils \
libxmlrpc-core-c3-dev default-libmysqlclient-dev \
libpcap-dev libpulse-dev libswresample-dev \
libavformat-dev libspandsp-dev libevent-dev \
libjson-glib-dev libavfilter-dev libiptc-dev \
gperf libwebsockets-dev

RUN apt-get -y install debhelper iptables-dev libcurl4-openssl-dev \
mc git gcc flex build-essential libglib2.0-dev \
make libssl-dev libcurl4-openssl-dev make \
libxml2-dev libpcre3-dev libexpat1-dev \
default-mysql-client libunistring-dev apt-utils \
libxmlrpc-core-c3-dev default-libmysqlclient-dev \
libpcap-dev libpulse-dev libswresample-dev \
libavformat-dev libspandsp-dev libevent-dev \
libjson-glib-dev libavfilter-dev libiptc-dev \
gperf libwebsockets-dev

RUN apt-get -y install debhelper libcurl4-openssl-dev \
libpcre3-dev libxmlrpc-core-c3-dev markdown libavfilter-dev \
libavformat-dev libavresample-dev libevent-dev libglib2.0-dev \
libhiredis-dev libjson-glib-dev libpcap0.8-dev libpcap-dev \
Expand All @@ -38,18 +41,27 @@ COPY rtpproxy /etc/init.d/

RUN chmod 755 /etc/init.d/rtpproxy

## RTPengine
## RTPengine -

RUN apt-get install -y certbot
#RUN certbot certonly --standalone -d asterisk.local

RUN apt-get install -y apt-transport-https ca-certificates

RUN echo 'deb https://deb.sipwise.com/spce/mr7.4.2/ stretch main' > /etc/apt/sources.list.d/sipwise.list
RUN echo 'deb-src https://deb.sipwise.com/spce/mr7.4.2/ stretch main' >> /etc/apt/sources.list.d/sipwise.list
RUN wget -q -O - https://deb.sipwise.com/spce/sipwise.gpg | apt-key add -
# https://dfx.at/rtpengine/
# RUN wget https://rtpengine.dfx.at/latest/pool/main/r/rtpengine-dfx-repo-keyring/rtpengine-dfx-repo-keyring_1.0_all.deb
# RUN dpkg -i rtpengine-dfx-repo-keyring_1.0_all.deb
# RUN echo "deb [signed-by=/usr/share/keyrings/dfx.at-rtpengine-archive-keyring.gpg] https://rtpengine.dfx.at/$REL $DIST main" | sudo tee /etc/apt/sources.list.d/dfx.at-rtpengine.list
# RUN apt install linux-headers-$(uname -r)
# RUN sudo apt update && apt install rtpengine

RUN echo 'deb https://deb.sipwise.com/spce/mr9.5.7/ bullseye main' > /etc/apt/sources.list.d/sipwise.list
RUN echo 'deb-src https://deb.sipwise.com/spce/mr9.5.7/ bullseye main' >> /etc/apt/sources.list.d/sipwise.list
#RUN wget -q -O - https://deb.sipwise.com/spce/sipwise.gpg | apt-key add -
RUN wget -q -O - https://deb.sipwise.com/spce/keyring/sipwise-keyring-bootstrap.gpg | apt-key add -
RUN apt-get update
RUN apt-get install -y ngcp-keyring ngcp-rtpengine
#RUN apt-get install -y ngcp-keyring ngcp-rtpengine
RUN apt-get install -y ngcp-archive-keyring ngcp-deployment-scripts ngcp-rtpengine

COPY ./etc/default/ngcp-rtpengine-daemon /etc/default/
COPY ./etc/rtpengine/rtpengine.conf /etc/rtpengine/
Expand Down

0 comments on commit e20cd2a

Please sign in to comment.