aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-dev-on-debian-sid/Dockerfile
blob: bc65f9cc79677020cfd83833fdd2b13310b45e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM neels/debian-sid-build

MAINTAINER Neels Hofmeyr <nhofmeyr@sysmocom.de>

WORKDIR	/build

ADD	http://git.osmocom.org/osmo-dev/patch /build/commit-osmo-dev
RUN	git clone git://git.osmocom.org/osmo-dev.git

RUN	cd osmo-dev && \
	./gen_makefile.py 3G+2G.deps default.opts iu.opts -m make --ldconfig-without-sudo

ADD	http://git.osmocom.org/libosmocore/patch /build/commit-libosmocore
ADD	http://git.osmocom.org/libosmo-abis/patch /build/commit-libosmo-abis
ADD	http://git.osmocom.org/libosmo-netif/patch /build/commit-libosmo-netif
ADD	http://git.osmocom.org/libosmo-sccp/patch /build/commit-libosmo-sccp
ADD	http://git.osmocom.org/libsmpp34/patch /build/commit-libsmpp34
ADD	http://git.osmocom.org/libasn1c/patch /build/commit-libasn1c
ADD	http://git.osmocom.org/osmo-ggsn/patch /build/commit-osmo-ggsn
ADD	http://git.osmocom.org/osmo-iuh/patch /build/commit-osmo-iuh
ADD	http://git.osmocom.org/osmo-hlr/patch /build/commit-osmo-hlr
ADD	http://git.osmocom.org/osmo-mgw/patch /build/commit-osmo-mgw
ADD	http://git.osmocom.org/osmo-msc/patch /build/commit-osmo-msc
ADD	http://git.osmocom.org/osmo-bsc/patch /build/commit-osmo-bsc
ADD	http://git.osmocom.org/osmo-sgsn/patch /build/commit-osmo-sgsn

WORKDIR /build/osmo-dev/make
RUN	make

COPY	cfg /cfg

WORKDIR	/cfg
CMD	["/usr/local/bin/osmo-msc", "-c", "/cfg/osmo-msc.cfg"]