aboutsummaryrefslogtreecommitdiffstats
path: root/debian-stretch-build-dist/Dockerfile
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-07-01 15:54:48 +0200
committerOliver Smith <osmith@sysmocom.de>2019-07-02 13:19:39 +0200
commitf9a889e29da98325ef42a435098f44627fbef45c (patch)
treeef507e52f9dffc721c9d1ee3f227ad0e1d5140d6 /debian-stretch-build-dist/Dockerfile
parent2bd38c7846b501422f0b671f6ae4eca99170d4b3 (diff)
debian-stretch-build-dist: new Dockerfile
Provide all build dependencies needed to pass ./configure of most Osmocom repositories. This will be used to run osmo-release-tarballs.sh in jenkins. Related: OS#3870 Change-Id: I991fe41a1f55ccd6a66815ec3d7f239850397d9a
Diffstat (limited to 'debian-stretch-build-dist/Dockerfile')
-rw-r--r--debian-stretch-build-dist/Dockerfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/debian-stretch-build-dist/Dockerfile b/debian-stretch-build-dist/Dockerfile
new file mode 100644
index 0000000..a1f0290
--- /dev/null
+++ b/debian-stretch-build-dist/Dockerfile
@@ -0,0 +1,38 @@
+ARG USER
+FROM $USER/debian-stretch-build
+
+ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/latest/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-latest.list
+
+ADD $OSMOCOM_REPO/Release /tmp/Release
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ ca-certificates \
+ libboost-all-dev \
+ liboping-dev \
+ libuhd-dev \
+ \
+ libasn1c-dev \
+ libgtp-dev \
+ libgtpnl-dev \
+ liblimesuite-dev \
+ liborcania-dev \
+ libosmo-abis-dev \
+ libosmocore-dev \
+ libosmodsp-dev \
+ libosmo-gsup-client-dev \
+ libosmo-mgcp-client-dev \
+ libosmo-netif-dev \
+ libosmo-ranap-dev \
+ libosmo-sccp-dev \
+ libosmo-sigtran-dev \
+ libsmpp34-dev \
+ libulfius-dev \
+ libusrp-dev \
+ libyder-dev && \
+ apt-get clean