File tree Expand file tree Collapse file tree 4 files changed +13
-318
lines changed
Expand file tree Collapse file tree 4 files changed +13
-318
lines changed Original file line number Diff line number Diff line change 55 - VERSION=8.0
66 - VERSION=5.7
77 - VERSION=5.6
8- - VERSION=5.5
98
109install :
1110 - git clone https://github.com/docker-library/official-images.git ~/official-images
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,26 +18,19 @@ for version in "${versions[@]}"; do
1818 debianVariant=" ${debianVariants[$version]:- $defaultDebianVariant } "
1919 debianSuite=" ${debianVariant%% -* } " # "stretch", etc
2020
21- if [ " $version " = ' 5.5' ]; then
22- fullVersion=" $( curl -sSL " https://dev.mysql.com/downloads/mysql/$version .html?os=2" \
23- | grep ' ">(mysql-' " $version " ' .*-linux.*-x86_64\.tar\.gz)<' \
24- | sed -r ' s!.*\(mysql-([^<)]+)-linux.*-x86_64\.tar\.gz\).*!\1!' \
25- | sort -V | tail -1) "
26- else
27- fullVersion=" $(
28- curl -fsSL " http://repo.mysql.com/apt/debian/dists/$debianSuite /mysql-$version /binary-amd64/Packages.gz" \
29- | gunzip \
30- | awk -F ' : ' '
31- $1 == "Package" {
32- pkg = $2
33- next
34- }
35- pkg == "mysql-server" && $1 == "Version" {
36- print $2
37- }
38- '
39- ) "
40- fi
21+ fullVersion=" $(
22+ curl -fsSL " http://repo.mysql.com/apt/debian/dists/$debianSuite /mysql-$version /binary-amd64/Packages.gz" \
23+ | gunzip \
24+ | awk -F ' : ' '
25+ $1 == "Package" {
26+ pkg = $2
27+ next
28+ }
29+ pkg == "mysql-server" && $1 == "Version" {
30+ print $2
31+ }
32+ '
33+ ) "
4134
4235 (
4336 set -x
You can’t perform that action at this time.
0 commit comments