summaryrefslogtreecommitdiffstats
path: root/lava-slave
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-12-03 14:54:04 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-12-03 14:54:04 +0100
commitfd12365c6767337dee68f8c003582045bcb7d1d4 (patch)
tree4d71e6b2a6302c637fb39260a6f2778412c6ea15 /lava-slave
parent5227dbc047a9c2783f0c220794953afe7644f069 (diff)
Use lavacli from package instead of from sources
A recent enough lavacli is present on stretch-backports. It is better to use it. This will fix also some commands not working with recent LAVA server.
Diffstat (limited to 'lava-slave')
-rw-r--r--lava-slave/Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index 5ef1843..48850a8 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -30,9 +30,7 @@ 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
+RUN apt-get -y install lavacli
COPY phyhostname /root/
COPY scripts/setup.sh .