Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adamancini/24a64ec991d3189be71cab67ea017609 to your computer and use it in GitHub Desktop.
Save adamancini/24a64ec991d3189be71cab67ea017609 to your computer and use it in GitHub Desktop.
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