Browse Source

Update tomcat-hello-world to use "buildpack-deps:stretch-curl"

This is especially for https://github.com/docker-library/tomcat/pull/104, which creates new tomcat variants which do not include wget.
Tianon Gravi 7 năm trước cách đây
mục cha
commit
06882c50db
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      test/tests/tomcat-hello-world/run.sh

+ 2 - 2
test/tests/tomcat-hello-world/run.sh

@@ -5,8 +5,8 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
 
 image="$1"
 
-# since we have curl in the tomcat image, we'll use that
-clientImage="$1"
+# since the "slim" tomcat variants don't have wget, we'll use buildpack-deps
+clientImage='buildpack-deps:stretch-curl'
 
 serverImage="$1"