You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/02/12 17:04:32 UTC

mesos git commit: Install ping for docker build.

Repository: mesos
Updated Branches:
  refs/heads/master a52ff5baf -> c691dc5f8


Install ping for docker build.

By default the Ubuntu docker image does not contain `ping`.
We need to manually install it with `iputils-ping`.

Refs: https://stackoverflow.com/a/39901446/1387612

Review: https://reviews.apache.org/r/65569/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c691dc5f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c691dc5f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/c691dc5f

Branch: refs/heads/master
Commit: c691dc5f8997b8e1947b5f52afc344ae1d6b1591
Parents: a52ff5b
Author: Tomasz Janiszewski <ja...@gmail.com>
Authored: Mon Feb 12 08:54:19 2018 -0800
Committer: James Peach <jp...@apache.org>
Committed: Mon Feb 12 08:54:19 2018 -0800

----------------------------------------------------------------------
 support/docker-build.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c691dc5f/support/docker-build.sh
----------------------------------------------------------------------
diff --git a/support/docker-build.sh b/support/docker-build.sh
index 126d4e7..435413a 100755
--- a/support/docker-build.sh
+++ b/support/docker-build.sh
@@ -71,6 +71,8 @@ case $OS in
       *16.04*)
         echo "Install Ubuntu 16.04 LTS (Xenial Xerus) specific packages"
         append_dockerfile "RUN apt-get install -y openjdk-8-jdk zlib1g-dev"
+        # Install ping required by OsTest.Which
+        append_dockerfile "RUN apt-get install -y iputils-ping"
        ;;
       *)
         append_dockerfile "RUN apt-get install -y openjdk-7-jdk"