From e61f59607011d1acd9d594bcef936588a78929e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 21 Aug 2017 19:47:22 +0200 Subject: [PATCH] Use version instead of grepping for wheezy Less brittle and easier to understand than the grep, given that we switched to Jessie since the 5.0 image --- generate-stackbrew-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index f62119b..50f495d 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -58,7 +58,7 @@ for version in "${versions[@]}"; do tags="${tags%, }" architectures="amd64, i386, arm32v7" - if ! grep -q 'wheezy' "$version/Dockerfile"; then architectures+=", arm64v8"; fi + if [[ "$version" != "3"* ]] && [[ "$version" != "4"* ]]; then architectures+=", arm64v8"; fi echo echo "Tags: $tags"