We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60d293 commit 0e7d336Copy full SHA for 0e7d336
versions.sh
@@ -5,15 +5,15 @@ alpine="$(
5
bashbrew cat --format '{{ .TagEntry.Tags | join "\n" }}' https://github.com/docker-library/official-images/raw/HEAD/library/alpine:latest \
6
| grep -E '^[0-9]+[.][0-9]+$'
7
)"
8
-[ "$(wc -l <<<"$alpine")" = 1 ]
+[ "$(wc -l <<<"$alpine" | tr -d '[:space:]')" = 1 ]
9
export alpine
10
11
debian="$(
12
bashbrew cat --format '{{ .TagEntry.Tags | join "\n" }}' https://github.com/docker-library/official-images/raw/HEAD/library/debian:latest \
13
| grep -vE '^latest$|[0-9.-]' \
14
| head -1
15
16
-[ "$(wc -l <<<"$debian")" = 1 ]
+[ "$(wc -l <<<"$debian" | tr -d '[:space:]')" = 1 ]
17
export debian
18
19
gosus="$(
0 commit comments