aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-dev-on-debian-sid/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'osmo-dev-on-debian-sid/Dockerfile')
-rw-r--r--osmo-dev-on-debian-sid/Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/osmo-dev-on-debian-sid/Dockerfile b/osmo-dev-on-debian-sid/Dockerfile
new file mode 100644
index 0000000..bc65f9c
--- /dev/null
+++ b/osmo-dev-on-debian-sid/Dockerfile
@@ -0,0 +1,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"]