From a421358ab87735bf05104bec6d3ff34620fafc30 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 May 2018 18:11:52 +0200 Subject: Add osmo-*-latest Dockerfiles Those containers are using the OBS-built "latest" packages on Debian 9 Change-Id: I6a564206dd81743deb1eb27eca7081bc333d7434 --- osmo-hlr-latest/.release | 2 ++ osmo-hlr-latest/Dockerfile | 33 +++++++++++++++++++++++++++++++++ osmo-hlr-latest/Makefile | 1 + osmo-hlr-latest/Release.key | 20 ++++++++++++++++++++ osmo-hlr-latest/osmo-hlr.cfg | 19 +++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 osmo-hlr-latest/.release create mode 100644 osmo-hlr-latest/Dockerfile create mode 100644 osmo-hlr-latest/Makefile create mode 100644 osmo-hlr-latest/Release.key create mode 100644 osmo-hlr-latest/osmo-hlr.cfg (limited to 'osmo-hlr-latest') diff --git a/osmo-hlr-latest/.release b/osmo-hlr-latest/.release new file mode 100644 index 0000000..2ef6141 --- /dev/null +++ b/osmo-hlr-latest/.release @@ -0,0 +1,2 @@ +release=0.0.0 +tag=osmo-hlr-latest-0.0.0 diff --git a/osmo-hlr-latest/Dockerfile b/osmo-hlr-latest/Dockerfile new file mode 100644 index 0000000..b54eef4 --- /dev/null +++ b/osmo-hlr-latest/Dockerfile @@ -0,0 +1,33 @@ +FROM debian:stretch + +MAINTAINER Harald Welte + +ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_9.0/" + +COPY Release.key /tmp/Release.key + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + gnupg + +RUN apt-key add /tmp/Release.key && \ + rm /tmp/Release.key && \ + echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-latest.list + +ADD $OSMOCOM_REPO/Release /tmp/Release +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + libdbd-sqlite3 \ + osmo-hlr \ + telnet && \ + apt-get clean + +WORKDIR /tmp + +VOLUME /data +COPY osmo-hlr.cfg /data/osmo-hlr.cfg + +WORKDIR /data +CMD ["/usr/bin/osmo-hlr"] + +EXPOSE 4222 4258 4259 diff --git a/osmo-hlr-latest/Makefile b/osmo-hlr-latest/Makefile new file mode 100644 index 0000000..8d0e10b --- /dev/null +++ b/osmo-hlr-latest/Makefile @@ -0,0 +1 @@ +include ../make/Makefile diff --git a/osmo-hlr-latest/Release.key b/osmo-hlr-latest/Release.key new file mode 100644 index 0000000..e656238 --- /dev/null +++ b/osmo-hlr-latest/Release.key @@ -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 +b2plY3QgPG5ldHdvcmtAYnVpbGQub3BlbnN1c2Uub3JnPokBPAQTAQIAJgUCWmMc +aQIbAwUJDEAUbQYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEGLrGgkXKA3fjsoI +ALSXmXzFCpTxg8a6tvXkqddY/qAmeBMNUf7hslI9wN3leNmCrnuHS8TbHWYJZgtw +8M5fKL3aRQYaIiqqm1XOUF0OqwYNDj5V3y38mM68NYOkzgSP7foMwZp9Y0TlGhtI +L8weA+2RUjB4hwwGMAYMqkRZyKW3NhPqdlGGoXac1ilwEyGXFHdOLbkhtyS+P2yb +/EvaKIN5cMLzRZKeYgdp9WuAirV+yV/SDbgvabW098lrWhGLltlRRDQgMV883p8I +ERMI1wlLFZGnHL3mfBWGeQ24M/DaBOdXQDtfBLCJ9nGztmDBUb8i6GFWU7nD2TGi +8mYUsED1ZDwO/0jdvJ4gSluIRgQTEQIABgUCUkG3/AAKCRA7MBG3a51lIzhdAJ9v +d6XPffMZRcCGgDEY5OaTn/MsCQCgrXbeZpFJgnirSrc8rRonvzYFiF4= +=Gvly +-----END PGP PUBLIC KEY BLOCK----- diff --git a/osmo-hlr-latest/osmo-hlr.cfg b/osmo-hlr-latest/osmo-hlr.cfg new file mode 100644 index 0000000..71a76c8 --- /dev/null +++ b/osmo-hlr-latest/osmo-hlr.cfg @@ -0,0 +1,19 @@ +! +! OsmoHLR example configuration +! +log stderr + logging filter all 1 + logging color 1 + logging print category 1 + logging timestamp 1 + logging print extended-timestamp 1 + logging level all debug + logging level linp error +! +line vty + bind 0.0.0.0 +ctrl + bind 0.0.0.0 +hlr + gsup + bind ip 0.0.0.0 -- cgit v1.2.3