aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-10 19:05:34 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-12 12:26:02 +0200
commite3162fd113ebec7203eb6117b30083cc32c6d496 (patch)
tree591d2ed5e81c37edd847307d9848b6d5841bac89 /tools/gce
parent5f5d696b8ab7bb0a2d234d3378bdf50f62aa84ab (diff)
install docker
Diffstat (limited to 'tools/gce')
-rwxr-xr-xtools/gce/linux_kokoro_performance_worker_init.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gce/linux_kokoro_performance_worker_init.sh b/tools/gce/linux_kokoro_performance_worker_init.sh
index f876156e48..b04552b455 100755
--- a/tools/gce/linux_kokoro_performance_worker_init.sh
+++ b/tools/gce/linux_kokoro_performance_worker_init.sh
@@ -182,6 +182,11 @@ git clone -v https://github.com/brendangregg/FlameGraph ~/FlameGraph
# Install scipy and numpy for benchmarking scripts
sudo apt-get install -y python-scipy python-numpy
+# Install docker
+curl -sSL https://get.docker.com/ | sh
+# Enable kbuilder to use docker without sudo:
+sudo usermod -aG docker kbuilder
+
# Add pubkey of Kokoro driver VM to allow SSH
# silence false-positive shellcheck warning ("< redirect does not affect sudo")
# shellcheck disable=SC2024