Add osmo-msc-master Dockerfile

changes/84/7384/1
Harald Welte 5 years ago
parent 1ab46eadc8
commit 9ef9aa13c8
  1. 2
      osmo-msc-master/.release
  2. 49
      osmo-msc-master/Dockerfile
  3. 3
      osmo-msc-master/Makefile
  4. 20
      osmo-msc-master/Release.key
  5. 21
      osmo-msc-master/osmo-msc.cfg

@ -0,0 +1,2 @@
release=0.0.0
tag=osmo-msc-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-msc.git
ADD http://git.osmocom.org/osmo-msc/patch /tmp/commit-osmo-msc
RUN cd osmo-msc && \
git fetch && git checkout -f -B master origin/master && \
autoreconf -fi && \
./configure --enable-smpp --enable-iu && \
make -j8 install
VOLUME /data
COPY osmo-msc.cfg /data/osmo-msc.cfg
WORKDIR /data
CMD ["/usr/local/bin/osmo-msc"]
#EXPOSE

@ -0,0 +1,3 @@
RUN_ARGS?=--rm --network sigtran --ip 172.18.0.10 -v msc-vol:/data
include ../make/Makefile

@ -0,0 +1,20 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)
mQENBFJBt/wBCADAht3d/ilNuyzaXYw/QwTRvmjyoDvfXw+H/3Fvk1zlDZoiKPPc
a1wCVBINUZl7vYM2OXqbJwYa++JP2Q48xKSvC6thbRc/YLievkbcvTemf7IaREfl
CTjoYpoqXHa9kHMw1aALDm8CNU88jZmnV7v9L6hKkbYDxie+jpoj7D6B9JlxgNJ4
5dQyRNsFGVcIl4Vplt1HyGc5Q5nQI/VgS2rlF/IOXmhRQBc4LEDdU8R2IKnkU4ee
S7TWanAigGAQhxGuCkS39/CWzc1DhLhjlNhBl/+RTPejkqJtAy00ZLps3+RqUN1Y
CU/Fsr7aRlYVGqQ/BlptwV0XQ2VVYJX2oEBBABEBAAG0MG5ldHdvcmsgT0JTIFBy
b2plY3QgPG5ldHdvcmtAYnVpbGQub3BlbnN1c2Uub3JnPokBPAQTAQIAJgUCVlbg
vgIbAwUJCDPYwgYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEGLrGgkXKA3fKpsH
+wcLqrk927aVs37n8xHHUpLCPiB215zB1p/uS/ZJtWuvY17caZX9kCIkQJhlVfyH
ObUJOiJkllAHhbybsCCAShB2COyf9q78y/x9hx2VMOI0nSznowuk5CYnWB3NNd/y
jC+FKw2Q+6+WRoODYodQPgCaBGp9Ptl2MFUots+NnMzhxlDUWL14WG7D/4IqK5TW
IJRrk4YCDtcl5jx9Zt2evf99CqJqZg+GsfESzd4reHjJBokHqz5wOXTGuOpJroAZ
KPztGvm/ltA3qYfZy6rlREpTE/GQxeXv6c8w+Zz82CeDYouzArTEr4qc+RD36TZt
IUpbkm7ZOzHDFrLNx/1YCv6IRgQTEQIABgUCUkG3/AAKCRA7MBG3a51lIzhdAJ9v
d6XPffMZRcCGgDEY5OaTn/MsCQCgrXbeZpFJgnirSrc8rRonvzYFiF4=
=XdMN
-----END PGP PUBLIC KEY BLOCK-----

@ -0,0 +1,21 @@
!
! OsmoMSC configuration saved from vty
!
line vty
no login
!
network
network country code 1
mobile network code 1
short name OsmoMSC
long name OsmoMSC
auth policy closed
location updating reject cause 13
encryption a5 0
rrlp mode none
mm info 1
msc
mgw remote-ip 10.23.24.1
assign-tmsi
auth-tuple-max-reuse-count 3
auth-tuple-reuse-on-error 1
Loading…
Cancel
Save