forked from mtirsel/docker-mysql-5.1
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,8 @@ RUN apt-get update && apt-get install -y libaio1 && rm -rf /var/lib/apt/lists/* | |
# gpg: key 5072E1F5: public key "MySQL Release Engineering <[email protected]>" imported | ||
RUN gpg --keyserver pgp.mit.edu --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5 | ||
|
||
# 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? | ||
RUN apt-get update && apt-get install -y curl --no-install-recommends && rm -rf /var/lib/apt/lists/* \ | ||
&& curl -SL "http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.73-linux2.6-x86_64.tar.gz" -o mysql.tar.gz \ | ||
&& curl -SL "http://mysql.he.net/Downloads/MySQL-5.1/mysql-5.1.73-linux2.6-x86_64.tar.gz.asc" -o mysql.tar.gz.asc \ | ||
&& curl -SL "http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.73-linux-x86_64-glibc23.tar.gz" -o mysql.tar.gz \ | ||
&& apt-get purge -y --auto-remove curl \ | ||
&& mkdir /usr/local/mysql \ | ||
&& tar -xzf mysql.tar.gz -C /usr/local/mysql --strip-components=1 \ | ||
|