Browse Source

Merge pull request #1780 from hypnoce/jetty_test_use_curl_image

Use a client image with curl for testing.
yosifkit 9 năm trước cách đây
mục cha
commit
1b850ef561
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      test/tests/jetty-hello-web/run.sh

+ 2 - 2
test/tests/jetty-hello-web/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"
+# Use a client image with curl for testing
+clientImage="buildpack-deps:curl"
 
 # Create an instance of the container-under-test
 serverImage="$("$dir/../image-name.sh" librarytest/jetty-hello-web "$image")"