add 'osmo-sip-master' Dockerfile

Change-Id: Ie9623df1b3181ddcfd868c14f0b05614853447b0
changes/24/7524/1
Harald Welte 5 years ago
parent 6f786a7383
commit b0bc0c237e
  1. 2
      osmo-sip-master/.release
  2. 49
      osmo-sip-master/Dockerfile
  3. 1
      osmo-sip-master/Makefile
  4. 20
      osmo-sip-master/Release.key
  5. 6
      osmo-sip-master/osmo-sip-connector.cfg

@ -0,0 +1,2 @@
release=0.0.0
tag=osmo-sip-master-0.0.0

@ -0,0 +1,49 @@
FROM laforge/debian-jessie-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/"
COPY Release.key /tmp/Release.key
RUN apt-key add /tmp/Release.key && \
rm /tmp/Release.key && \
echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-nightly.list
ADD $OSMOCOM_REPO/Release /tmp/Release
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libasn1c-dev \
libdbd-sqlite3 \
libdbi-dev \
libosmo-abis-dev \
libosmo-legacy-mgcp-dev \
libosmo-mgcp-client-dev \
libosmo-netif-dev \
libosmo-ranap-dev \
libosmo-sccp-dev \
libosmo-sigtran-dev \
libosmocore-dev \
libsmpp34-dev \
telnet && \
apt-get clean
WORKDIR /tmp
RUN git clone git://git.osmocom.org/osmo-sip-connector.git
ADD http://git.osmocom.org/osmo-sip-connector/patch /tmp/commit-osmo-sip-connector
RUN cd osmo-sip-connector && \
git fetch && git checkout -f -B master origin/master && \
autoreconf -fi && \
./configure --enable-smpp --enable-iu && \
make -j8 install
VOLUME /data
COPY osmo-sip-connector.cfg /data/osmo-sip-connector.cfg
WORKDIR /data
CMD ["/usr/local/bin/osmo-sip-connector"]
#EXPOSE

@ -0,0 +1 @@
include ../make/Makefile

@ -0,0 +1,20 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)
mQENBFJBt/wB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