Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
renamed image to 10.0-galera
Browse files Browse the repository at this point in the history
  • Loading branch information
hauptmedia committed Apr 16, 2015
1 parent 2d43233 commit e738a23
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
17 changes: 4 additions & 13 deletions 10.0-galera-xtrabackup/Dockerfile → 10.0-galera/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM debian:jessie
MAINTAINER Julian Haupt <[email protected]>

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
Expand All @@ -19,9 +19,9 @@ ENV MARIADB_VERSION 10.0.17

# install mariadb
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
echo "deb http://ftp.hosteurope.de/mirror/mariadb.org/repo/${MARIADB_MAJOR}/ubuntu trusty main" >>/etc/apt/sources.list && \
echo "deb http://ftp.hosteurope.de/mirror/mariadb.org/repo/${MARIADB_MAJOR}/debian wheezy main" >>/etc/apt/sources.list && \
apt-get update -qq && \
apt-get -y install mariadb-galera-server-${MARIADB_MAJOR}="${MARIADB_VERSION}+maria-1~trusty" mariadb-client-${MARIADB_MAJOR}="${MARIADB_VERSION}+maria-1~trusty" && \
apt-get -y install percona-xtrabackup mariadb-galera-server-${MARIADB_MAJOR}="${MARIADB_VERSION}+maria-1~wheezy" mariadb-client-${MARIADB_MAJOR}="${MARIADB_VERSION}+maria-1~wheezy" && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
Expand All @@ -33,16 +33,7 @@ ENV GALERA_VERSION 25.3.9

# install galera
RUN apt-get update -qq && \
apt-get -y install galera-3="${GALERA_VERSION}-trusty" && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/

# install xtrabackup
RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A && \
echo "deb http://repo.percona.com/apt trusty main" >>/etc/apt/sources.list && \
apt-get update -qq && \
apt-get install percona-xtrabackup && \
apt-get -y install galera-3="${GALERA_VERSION}-wheezy" && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[mysqld]
wsrep_provider=/usr/lib/galera/libgalera_smm.so
wsrep_sst_method=xtrabackup
wsrep_sst_method=xtrabackup-v2

# wsrep only supports binlog_format='ROW' and storage-engine=innodb
binlog_format=ROW
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: 10.0-galera-xtrabackup
.PHONY: 10.0-galera

10.0-galera-xtrabackup:
docker build -t hauptmedia/10.0-galera-xtrabackup 10.0-galera-xtrabackup
10.0-galera:
docker build -t hauptmedia/10.0-galera 10.0-galera


0 comments on commit e738a23

Please sign in to comment.