Skip to content

Commit de740a4

Browse files
authored
Merge pull request #212 from J0WI/https
use "https" for communications with "mysql.com"
2 parents 5b6b9a4 + 78c736c commit de740a4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

5.5/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ RUN apt-get update && apt-get install -y libaio1 pwgen && rm -rf /var/lib/apt/li
3232
ENV MYSQL_MAJOR 5.5
3333
ENV MYSQL_VERSION 5.5.52
3434

35-
# note: we're pulling the *.asc file from mysql.he.net instead of dev.mysql.com because the official mirror 404s that file for whatever reason - maybe it's at a different path?
36-
RUN apt-get update && apt-get install -y wget --no-install-recommends && rm -rf /var/lib/apt/lists/* \
37-
&& wget "http://dev.mysql.com/get/Downloads/MySQL-$MYSQL_MAJOR/mysql-$MYSQL_VERSION-linux2.6-x86_64.tar.gz" -O mysql.tar.gz \
38-
&& wget "http://mysql.he.net/Downloads/MySQL-$MYSQL_MAJOR/mysql-$MYSQL_VERSION-linux2.6-x86_64.tar.gz.asc" -O mysql.tar.gz.asc \
39-
&& apt-get purge -y --auto-remove wget \
35+
RUN apt-get update && apt-get install -y ca-certificates wget --no-install-recommends && rm -rf /var/lib/apt/lists/* \
36+
&& wget "https://cdn.mysql.com/Downloads/MySQL-$MYSQL_MAJOR/mysql-$MYSQL_VERSION-linux2.6-x86_64.tar.gz" -O mysql.tar.gz \
37+
&& wget "https://cdn.mysql.com/Downloads/MySQL-$MYSQL_MAJOR/mysql-$MYSQL_VERSION-linux2.6-x86_64.tar.gz.asc" -O mysql.tar.gz.asc \
38+
&& apt-get purge -y --auto-remove ca-certificates wget \
4039
&& export GNUPGHOME="$(mktemp -d)" \
4140
# gpg: key 5072E1F5: public key "MySQL Release Engineering <[email protected]>" imported
4241
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5 \

0 commit comments

Comments
 (0)