Skip to content

Commit 2061adf

Browse files
committed
Use https in update.sh
1 parent 51f9523 commit 2061adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ for version in "${versions[@]}"; do
1919
debianSuite="${debianVariant%%-*}" # "stretch", etc
2020

2121
fullVersion="$(
22-
curl -fsSL "http://repo.mysql.com/apt/debian/dists/$debianSuite/mysql-$version/binary-amd64/Packages.gz" \
22+
curl -fsSL "https://repo.mysql.com/apt/debian/dists/$debianSuite/mysql-$version/binary-amd64/Packages.gz" \
2323
| gunzip \
2424
| awk -F ': ' '
2525
$1 == "Package" {
@@ -38,7 +38,7 @@ for version in "${versions[@]}"; do
3838
-e 's/^(ENV MYSQL_VERSION) .*/\1 '"$fullVersion"'/' \
3939
-e 's/^(ENV MYSQL_MAJOR) .*/\1 '"$version"'/' \
4040
-e 's/^(FROM) .*/\1 debian:'"$debianVariant"'/' \
41-
-e 's!(http://repo.mysql.com/apt/debian/) [^ ]+!\1 '"$debianSuite"'!' \
41+
-e 's!(https://repo.mysql.com/apt/debian/) [^ ]+!\1 '"$debianSuite"'!' \
4242
"$version/Dockerfile"
4343
)
4444
done

0 commit comments

Comments
 (0)