Add sudo to docker 69/58869/1
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Thu, 21 Jun 2018 09:23:11 +0000 (17:23 +0800)
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>
Thu, 21 Jun 2018 14:30:01 +0000 (14:30 +0000)
It seems sudo is not included in Bottlenecks docker.
This patch is to fix it.

Change-Id: Icb3c09acb877acfc4817b2aa67689045846c716d
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
(cherry picked from commit 76619a3824f213715e012fdb23df64b079a4ff48)

docker/Dockerfile

index 8f124cb..c91a60f 100644 (file)
@@ -36,6 +36,7 @@ RUN apt-get update && apt-get install -y \
     vim \
     iputils-ping \
     sshpass \
+    sudo \
     python-setuptools && \
     apt-get -y autoremove && \
     apt-get clean