Explorar el Código

Capture "slim" variants properly (even in the context of https://github.com/docker-library/official-images/pull/3269, "slim-jessie", etc)

Tianon Gravi hace 8 años
padre
commit
de775241de
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      test/run.sh

+ 4 - 0
test/run.sh

@@ -113,6 +113,10 @@ for dockerImage in "$@"; do
 			# "alpine3.4", "alpine3.6", "nginx:alpine-perl", etc are still "alpine" variants
 			variant='alpine'
 			;;
+		slim-*|*-slim-*)
+			# "slim-jessie" is still "slim"
+			variant='slim'
+			;;
 	esac
 	
 	testRepo="$repo"