@linuxmaniac ,
maybe your build environment is somehow different?
try to compare the result of the two commands:
docker build --build-arg KAMAILIO_VERSION=5.7.3 -t kamailio-deb-573 . && \
docker run --rm kamailio-deb-573
docker build --build-arg KAMAILIO_VERSION=5.7.4 -t kamailio-deb-574 . && \
docker run --rm kamailio-deb-574
Dockerfile:
FROM debian:bookworm
ARG DEBIAN_FRONTEND=noninteractive
ARG KAMAILIO_VERSION=5.7.3
RUN apt-get update && apt-get install -y \
build-essential autoconf bison curl debhelper \
default-libmysqlclient-dev docbook-xml dpkg-dev erlang-dev flex gcc g++ git \
libcurl4-openssl-dev libdb-dev libev-dev libevent-dev \
libexpat1-dev libfreeradius-dev libgeoip-dev \
libhiredis-dev libjansson-dev libjson-c-dev \
libldap2-dev liblua5.1-0-dev libmaxminddb-dev \
libmemcached-dev libmnl-dev libmongoc-dev \
libmono-2.0-dev libmosquitto-dev libnats-dev \
libncurses5-dev libpcre3-dev libperl-dev \
libphonenumber-dev libpq-dev librabbitmq-dev \
libradcli-dev libreadline-dev libsasl2-dev \
libsctp-dev libsecsipid-dev libsnmp-dev \
libsqlite3-dev libssl-dev libsystemd-dev \
libunistring-dev libwebsockets-dev libxml2-dev \
pkg-config python3-dev ruby-dev unixodbc-dev \
uuid-dev xsltproc git wget
RUN cd /usr/src \
&& git clone https://github.com/kamailio/kamailio.git kamailio \
&& cd kamailio \
&& git checkout -b $KAMAILIO_VERSION tags/$KAMAILIO_VERSION \
&& ln -s pkg/kamailio/deb/bookworm debian \
&& make cfg \
&& make -j `nproc` deb
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["ls -al /usr/src/*.deb"]
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.