summaryrefslogtreecommitdiffstats
path: root/lava-slave/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-08 14:16:22 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-01-08 15:15:40 +0100
commit83781cf3177ae2928221c424caeb2bd880d6cc6c (patch)
treed994d2f2a80787a444797874444ae1acb8f17786 /lava-slave/Dockerfile
parenta8fdfe2d0c14494735b78e7cd94d6dd6afc3881e (diff)
Use cu package from testing
Some boards need cu > 1.07-24 It exists only in debian testing, so add a hack for getting it.
Diffstat (limited to 'lava-slave/Dockerfile')
-rw-r--r--lava-slave/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index a5e1bbf..d2f3191 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -64,6 +64,12 @@ COPY lavapdu.conf /etc/lavapdu/
RUN sed -i 's,XNBD_PORT_RANGE_MIN.*,XNBD_PORT_RANGE_MIN=61950,' /usr/lib/python2.7/dist-packages/lava_dispatcher/utils/constants.py
RUN sed -i 's,XNBD_PORT_RANGE_MAX.*,XNBD_PORT_RANGE_MAX=62000,' /usr/lib/python2.7/dist-packages/lava_dispatcher/utils/constants.py
+#conmux need cu >= 1.07-24 See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336996
+RUN echo "deb http://debian.proxad.net/debian/ testing main" >> /etc/apt/sources.list.d/testing.list
+RUN apt-get update
+RUN DEBIAN_FRONTEND=noninteractive apt-get -y install cu
+RUN rm /etc/apt/sources.list.d/testing.list
+
EXPOSE 69/udp 80
CMD /start.sh