소스 검색

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 년 전
부모
커밋
06882c50db
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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"
 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"
 serverImage="$1"