Skip to content

Commit

Permalink
Use version instead of grepping for wheezy
Browse files Browse the repository at this point in the history
Less brittle and easier to understand than the grep, given that we switched to Jessie since the 5.0 image
  • Loading branch information
akoeplinger committed Aug 21, 2017
1 parent b0ae75d commit e61f596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e61f596

Please sign in to comment.