Jelajahi Sumber

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 tahun lalu
induk
melakukan
06882c50db
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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"