浏览代码

Switch elasticsearch-basics to stop assuming the elasticsearch image includes curl

Tianon Gravi 9 年之前
父节点
当前提交
8c86c027eb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/tests/elasticsearch-basics/run.sh

+ 2 - 2
test/tests/elasticsearch-basics/run.sh

@@ -8,8 +8,8 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
 
 image="$1"
 
-# Use the image being tested as our client image since it should already have curl
-clientImage="$image"
+# our image may not have "curl" (Alpine variants, for example)
+clientImage='buildpack-deps:jessie-curl'
 
 # Create an instance of the container-under-test
 # (explicitly setting a low memory limit since the image defaults to 2GB)