Install latest ipmitool to run network IPMI in robot.

Resolves openbmc/openbmc-build-scripts#14

Change-Id: Ib9f38148cd7997261e78df8c04da067381e62b45
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/scripts/build-qemu-robot-docker.sh b/scripts/build-qemu-robot-docker.sh
index d1339ac..cd69aec 100755
--- a/scripts/build-qemu-robot-docker.sh
+++ b/scripts/build-qemu-robot-docker.sh
@@ -47,7 +47,8 @@
     unzip \
     diffstat \
     expect \
-    curl
+    curl \
+    build-essential
 
 RUN easy_install \
     tox \
@@ -60,6 +61,12 @@
     robotframework-sshlibrary \
     robotframework-scplibrary
 
+RUN wget https://sourceforge.net/projects/ipmitool/files/ipmitool/1.8.18/ipmitool-1.8.18.tar.bz2
+RUN tar xvfj ipmitool-*.tar.bz2
+RUN ./ipmitool-1.8.18/configure
+RUN make
+RUN make install
+
 RUN grep -q ${GROUPS} /etc/group || groupadd -g ${GROUPS} ${USER}
 RUN grep -q ${UID} /etc/passwd || useradd -d ${HOME} -m -u ${UID} -g ${GROUPS} \
                     ${USER}