2020-11-02 13:24:39 +00:00
|
|
|
ARG REGISTRY=docker.io
|
2020-11-18 15:45:28 +00:00
|
|
|
ARG UPSTREAM_DISTRO=centos:centos8
|
|
|
|
FROM ${REGISTRY}/${UPSTREAM_DISTRO}
|
2020-12-07 15:49:30 +00:00
|
|
|
ARG OSMOCOM_REPO_MIRROR="http://download.opensuse.org"
|
2020-05-28 08:58:46 +00:00
|
|
|
|
|
|
|
# Let package metadata expire after 60 seconds instead of 48 hours
|
|
|
|
RUN echo "metadata_expire=60" >> /etc/dnf/dnf.conf && cat /etc/dnf/dnf.conf
|
|
|
|
|
|
|
|
# Make additional development libraries available from PowerTools and Osmocom nightly (e.g. libdbi)
|
|
|
|
RUN dnf install -y dnf-utils wget && \
|
2020-12-09 10:03:59 +00:00
|
|
|
yum config-manager --set-enabled powertools && \
|
2020-05-28 08:58:46 +00:00
|
|
|
cd /etc/yum.repos.d/ && \
|
2020-12-16 09:33:17 +00:00
|
|
|
wget $OSMOCOM_REPO_MIRROR/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo
|
2020-05-28 08:58:46 +00:00
|
|
|
|
|
|
|
RUN dnf install -y \
|
|
|
|
autoconf \
|
|
|
|
autoconf-archive \
|
|
|
|
autogen \
|
|
|
|
automake \
|
|
|
|
bison \
|
|
|
|
c-ares-devel \
|
|
|
|
cppcheck \
|
|
|
|
doxygen \
|
|
|
|
fftw-devel \
|
|
|
|
flex \
|
|
|
|
gawk \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
git \
|
|
|
|
gnupg \
|
|
|
|
gnutls-devel \
|
|
|
|
gsm-devel \
|
|
|
|
libdbi-dbd-sqlite \
|
|
|
|
libdbi-devel \
|
|
|
|
libpcap-devel \
|
|
|
|
libsofia-sip-ua-glib3 \
|
|
|
|
libtalloc-devel \
|
|
|
|
libtool \
|
|
|
|
libusb1-devel \
|
|
|
|
lksctp-tools-devel \
|
|
|
|
make \
|
|
|
|
ncurses-devel \
|
|
|
|
openssl-devel \
|
|
|
|
ortp-devel \
|
|
|
|
pcsc-lite-devel \
|
|
|
|
pkg-config \
|
|
|
|
readline-devel \
|
|
|
|
sqlite \
|
|
|
|
sqlite-devel
|