Explorar o código

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

Tianon Gravi %!s(int64=9) %!d(string=hai) anos
pai
achega
8c86c027eb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)