Forked from olublessed/gist:f784f4515e584e84fa8c246040fa7eaf
Last active
August 14, 2017 17:47
-
-
Save adamancini/24a64ec991d3189be71cab67ea017609 to your computer and use it in GitHub Desktop.
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
RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A \ | |
&& sed -i '/repo.percona.com/d' /etc/apt/sources.list \ | |
&& sh -c 'echo "deb http://repo.percona.com/apt precise main" >> /etc/apt/sources.list' \ | |
&& sh -c 'echo "deb-src http://repo.percona.com/apt precise main" >> /etc/apt/sources.list' \ | |
&& apt-get -q -y update | |
&& apt-get -o Dpkg::Options::='--force-confnew' -qqy install \ | |
nano \ | |
wget \ | |
psmisc \ | |
libdbi-perl \ | |
libdbd-mysql-perl \ | |
libwrap0 perl libaio1 \ | |
mysql-client \ | |
percona-xtrabackup \ | |
libssl0.9.8 \ | |
libssl1.0.0 \ | |
rsync \ | |
netcat \ | |
&& wget --no-check-certificate https://launchpad.net/codership-mysql/5.5/5.5.34-25.9/+download/mysql-server-wsrep-5.5.34-25.9-amd64.deb \ | |
&& wget --no-check-certificate https://launchpad.net/galera/2.x/25.2.8/+download/galera-25.2.8-amd64.deb \ | |
&& dpkg -i galera-25.2.8-amd64.deb \ | |
&& dpkg -i mysql-server-wsrep-5.5.34-25.9-amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment