This is quite strange, if I do:
$ docker pull kamailio/pkg-kamailio-docker:4.4-jessie
$ docker inspect kamailio/pkg-kamailio-docker:4.4-jessie | grep Id
"Id":
"sha256:6ee5a8451a2365cc497bbdf268335656143af81afceb9ee46f78bbafbcbbba37",
# docker run -i -t --rm -v $(pwd):/code:rw
kamailio/pkg-kamailio-docker:4.4-jessie /bin/bash
and inside docker:
root@d0a4b28bb583:/code# apt-cache policy libfreeradius-client-dev
libfreeradius-client-dev:
Installed: 1.1.6-7
Candidate: 1.1.6-7
Version table:
*** 1.1.6-7 0
100 /var/lib/dpkg/status
root@d0a4b28bb583:/code# FREERADIUS=1 make every-module
group_include="kradius"
Makefile:107: config.mak: No such file or directory
target architecture <x86_64>, host architecture <x86_64>
making config...
CC (gcc) [M acc_radius.so] acc_radius_mod.o
CC (gcc) [L libkcore.so.1.0] parse_privacy.o
CC (gcc) [L libkcore.so.1.0] regexp.o
CC (gcc) [L libkcore.so.1.0] parse_sst.o
CC (gcc) [L libkcore.so.1.0] strcommon.o
CC (gcc) [L libkcore.so.1.0] statistics.o
CC (gcc) [L libkcore.so.1.0] kstats_wrapper.o
CC (gcc) [L libkcore.so.1.0] cmpapi.o
LD (gcc) [L libkcore.so.1.0] libkcore.so.1.0
LD (gcc) [M acc_radius.so] acc_radius.so
CC (gcc) [M auth_radius.so] sterman.o
CC (gcc) [M auth_radius.so] authrad_mod.o
CC (gcc) [M auth_radius.so] authorize.o
CC (gcc) [M auth_radius.so] extra.o
make[2]: 'libkcore.so.1.0' is up to date.
LD (gcc) [M auth_radius.so] auth_radius.so
CC (gcc) [M misc_radius.so] functions.o
CC (gcc) [M misc_radius.so] misc_radius.o
CC (gcc) [M misc_radius.so] extra.o
LD (gcc) [M misc_radius.so] misc_radius.so
CC (gcc) [M peering.so] verify.o
In file included from verify.c:37:0:
../../dprint.h:406:0: warning: "DEBUG" redefined
# define DEBUG(fmt, args...) DBG(fmt , ## args)
^
In file included from ../../lib/kcore/radius.h:44:0,
from verify.c:35:
/usr/include/freeradius-client.h:23:0: note: this is the location of the
previous definition
#define DEBUG(args...) ;
^
CC (gcc) [M peering.so] peering.o
make[2]: 'libkcore.so.1.0' is up to date.
LD (gcc) [M peering.so] peering.so
I don't see why it's failing on travis-ci if we are using the same
docker image