فهرست منبع

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)