add osmo-resmsim-master Docker container

this will be used in upcoming TTCN-3 tests for osmo-remsim

Change-Id: I8508441289455d0a2e3486a99ef09c85937de26f
changes/08/15508/2
Harald Welte 3 years ago
parent 6b7cab9a47
commit 0d426bd8f5
  1. 1
      osmo-remsim-master/.release
  2. 53
      osmo-remsim-master/Dockerfile
  3. 3
      osmo-remsim-master/Makefile
  4. 20
      osmo-remsim-master/Release.key

@ -0,0 +1,53 @@
ARG USER
FROM $USER/debian-stretch-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.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 \
telnet \
libosmocore-dev \
libosmo-abis-dev \
libosmo-netif-dev \
libpcsclite-dev \
libcsv-dev \
libjansson-dev \
libulfius-dev \
liborcania-dev && \
apt-get clean
#ADD respawn.sh /usr/local/bin/respawn.sh
WORKDIR /tmp
ARG OSMO_REMSIM_BRANCH="master"
RUN git clone git://git.osmocom.org/osmo-remsim.git
ADD http://git.osmocom.org/osmo-remsim/patch?h=$OSMO_REMSIM_BRANCH /tmp/commit-osmo-remsim
RUN cd osmo-remsim && \
git fetch && git checkout $OSMO_REMSIM_BRANCH && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_REMSIM_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
./configure && \
make -j8 install && \
ldconfig
VOLUME /data
#COPY osmo-bts.cfg /data/osmo-bts.cfg
WORKDIR /data
CMD ["/usr/local/bin/osmo-resmim-server"]
#EXPOSE

@ -0,0 +1,3 @@
#RUN_ARGS?=--rm --network sigtran --ip 172.18.0.210 -v bts-vol:/data
include ../make/Makefile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