This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
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
1 parent
2d43233
commit e738a23
Showing
4 changed files
with
8 additions
and
17 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 |
---|---|---|
@@ -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 | ||
|
@@ -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}/ && \ | ||
|
@@ -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}/ | ||
|
2 changes: 1 addition & 1 deletion
2
10.0-galera-xtrabackup/conf.d/wsrep.cnf → 10.0-galera/conf.d/wsrep.cnf
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
File renamed without changes.
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 |
---|---|---|
@@ -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 | ||
|
||
|