summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-03-07 10:31:40 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-03-08 20:07:14 +0100
commitc79a1c359bf42a0164f85d7e54476e7b1430b0ec (patch)
treec294a69cfd10c9cde92963e64c9ffb25217664c6 /lava-master/Dockerfile
parent4bd2731463230669c7c19c0ee085f3019f3ef169 (diff)
Install qemu-kvm only on x86/x86_64
qemu-kvm is not availlable on ARM. Install it only on supported x86/x86_64
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 607a79a..a65fd9a 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -33,11 +33,12 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
qemu-system \
qemu-system-arm \
qemu-system-i386 \
- qemu-kvm \
ser2net \
u-boot-tools \
python-setproctitle
+RUN if [ "$(uname -m)" = "x86_64" -o "$(uname -m)" = "x86" ] ;then apt-get -y install qemu-kvm ; fi
+
#RUN service postgresql start \
# && DEBIAN_FRONTEND=noninteractive apt-get -y install \
# lava \