summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-08-29 13:51:26 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-09-06 20:25:44 +0200
commitc4e7d2900d89ec811d44f9eb2a41a5086f3c8b8e (patch)
treea6605be970c0652f6c82341205d42ff5776c447d
parent8288e3232085ce991a4ddb09eff1d607078d448c (diff)
lava-slave/Dockerfile: install recent ser2net
Current ser2net present in debian is too old, we need at least the 3.2 release for having the multiple connection support. This patch download, compile and install ser2net 3.5
-rw-r--r--lava-slave/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index e07c01e..cbaafdc 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -22,6 +22,13 @@ RUN rm /etc/apt/sources.list.d/testing.list
RUN apt-get -y install ser2net
COPY ser2net.conf /etc
+# ser2net > 3.2 is only availlable from sid
+RUN echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list.d/sid.list
+RUN apt-get update
+RUN DEBIAN_FRONTEND=noninteractive apt-get -y install ser2net
+RUN rm /etc/apt/sources.list.d/sid.list
+RUN apt-get update
+
# lava-cli dependencies
RUN apt-get -y install python3-setuptools python3-dev python3-zmq
RUN git clone https://git.linaro.org/lava/lavacli.git /root/lavacli && cd /root/lavacli && git checkout v0.7 && python3 setup.py install