Change in docker-playground[master]: Add Dockerfile for OpenBTS-UMTS

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Dec 15 14:33:07 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/26574 )


Change subject: Add Dockerfile for OpenBTS-UMTS
......................................................................

Add Dockerfile for OpenBTS-UMTS

Change-Id: Ibbab5973b84047ee7654a5fb2a8e4b36e1d43847
---
A openbts-umts/Dockerfile
A openbts-umts/Makefile
2 files changed, 69 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/74/26574/1

diff --git a/openbts-umts/Dockerfile b/openbts-umts/Dockerfile
new file mode 100644
index 0000000..b3fd386
--- /dev/null
+++ b/openbts-umts/Dockerfile
@@ -0,0 +1,64 @@
+# See https://fairwaves.co/blog/openbts-umts-3g-umtrx/
+
+# Ancient software requires ancient distro
+FROM	debian:jessie
+
+MAINTAINER Vadim Yanitskiy <axilirator at gmail.com>
+
+RUN	apt-get update && \
+	apt-get install -y --no-install-recommends \
+			   --no-install-suggests \
+		ca-certificates \
+		build-essential \
+		pkg-config \
+		debhelper \
+		automake \
+		autoconf \
+		libtool-bin \
+		libtool \
+		unzip \
+		wget \
+		git \
+		libboost-dev \
+		libreadline6-dev \
+		libusb-1.0-0-dev \
+		libsqlite3-dev \
+		libosip2-dev \
+		libortp-dev \
+		libzmq3-dev \
+		python-zmq \
+		libuhd-dev
+
+WORKDIR	/home/root
+
+# Download and install UHD firmware
+ARG	UHD_RELEASE="003.007.003"
+RUN	wget http://files.ettus.com/binaries/maint_images/archive/uhd-images_$UHD_RELEASE-release.zip && \
+		unzip uhd-images_$UHD_RELEASE-release.zip && \
+		cp -r uhd-images_$UHD_RELEASE-release/share/uhd/ /usr/share/
+
+# Install asn1c
+ARG	ASN1C_COMMIT="80b3752c8093251a1ef924097e9894404af2d304"
+RUN	git clone https://github.com/vlm/asn1c.git
+RUN	cd asn1c && \
+		git checkout $ASN1C_COMMIT && \
+		./configure && \
+		make install
+
+# Install libcoredumper
+RUN	git clone https://github.com/RangeNetworks/libcoredumper.git
+RUN	cd libcoredumper && \
+		./build.sh && \
+		dpkg -i libcoredumper*.deb
+
+# Finally, install OpenBTS-UMTS
+RUN	git clone https://github.com/RangeNetworks/OpenBTS-UMTS.git
+RUN	cd OpenBTS-UMTS && \
+		git submodule init && \
+		git submodule update && \
+		./autogen.sh && \
+		./configure && \
+		make install && \
+		make clean
+
+CMD	cd /OpenBTS/ && ./OpenBTS-UMTS
diff --git a/openbts-umts/Makefile b/openbts-umts/Makefile
new file mode 100644
index 0000000..b030a43
--- /dev/null
+++ b/openbts-umts/Makefile
@@ -0,0 +1,5 @@
+RUN_ARGS?= \
+	--privileged \
+	-v /dev/bus/usb:/dev/bus/usb
+
+include ../make/Makefile

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26574
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ibbab5973b84047ee7654a5fb2a8e4b36e1d43847
Gerrit-Change-Number: 26574
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211215/06f89232/attachment.htm>


More information about the gerrit-log mailing list