2017-05-03 13:13:57 +00:00
|
|
|
FROM debian-jessie-build
|
|
|
|
|
|
|
|
MAINTAINER Harald Welte <laforge@gnumonks.org>
|
|
|
|
|
|
|
|
COPY Release.key /tmp/Release.key
|
|
|
|
|
|
|
|
RUN apt-key add /tmp/Release.key && \
|
|
|
|
rm /tmp/Release.key && \
|
|
|
|
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2017-05-03 15:12:02 +00:00
|
|
|
telnet \
|
2017-05-03 13:13:57 +00:00
|
|
|
libosmocore-dev \
|
2017-05-03 19:19:55 +00:00
|
|
|
libosmo-netif-dev
|
2017-05-03 13:13:57 +00:00
|
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
|
|
|
|
|
RUN git clone git://git.osmocom.org/libosmo-sccp.git && \
|
|
|
|
cd libosmo-sccp && \
|
|
|
|
autoreconf -fi && \
|
|
|
|
./configure && \
|
|
|
|
make -j8 install && \
|
|
|
|
ldconfig
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
COPY osmo-stp.cfg /data/
|
|
|
|
|
|
|
|
CMD /usr/local/bin/osmo-stp -c /data/osmo-stp.cfg
|
|
|
|
|
|
|
|
EXPOSE 2905 14001 4239
|