diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2019-09-12 11:48:07 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2019-09-12 14:14:08 +0200 |
| commit | 016c0f577c535def40dd32ddf41e6cb145a2f9b8 (patch) | |
| tree | 53f021ec3edd98a8ead5ade644cddca3c9c027b1 /docker/xtrabackup/Dockerfile.j2 | |
| parent | 532af2efc8893cfd23f8d2beadd32a4e3463ae85 (diff) | |
| download | kolla-016c0f577c535def40dd32ddf41e6cb145a2f9b8.tar.gz kolla-016c0f577c535def40dd32ddf41e6cb145a2f9b8.zip | |
Drop Percona XtraBackup in favour of MariaDB Backup
XtraBackup started failing to install on Ubuntu and does not support
MariaDB 10.3 version.
Related-Bug: #1843043
Change-Id: I9cf62c8e03a02574d85e5349df1d23a51d4c99be
Diffstat (limited to 'docker/xtrabackup/Dockerfile.j2')
| -rw-r--r-- | docker/xtrabackup/Dockerfile.j2 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docker/xtrabackup/Dockerfile.j2 b/docker/xtrabackup/Dockerfile.j2 deleted file mode 100644 index 341a0d2f3..000000000 --- a/docker/xtrabackup/Dockerfile.j2 +++ /dev/null @@ -1,28 +0,0 @@ -FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} -LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" - -{% block xtrabackup_header %}{% endblock %} - -{% import "macros.j2" as macros with context %} - -{% if base_package_type == 'rpm' %} -RUN yum-config-manager --enable percona-release-\* -{% endif %} - -{% if base_package_type == 'deb' %} -RUN sed -i -e '/percona/ s|^#deb |deb |' /etc/apt/sources.list -{% endif %} - -{% if base_package_type in ['rpm', 'deb'] %} - {% set xtrabackup_packages = ['percona-xtrabackup-24', 'qpress'] %} -{% endif %} - -{{ macros.install_packages(xtrabackup_packages | customizable("packages")) }} - -COPY backup.sh /usr/local/bin/kolla_mariadb_backup.sh -RUN chmod 755 /usr/local/bin/kolla_mariadb_backup.sh - -CMD /usr/local/bin/kolla_mariadb_backup.sh - -{% block xtrabackup_footer %}{% endblock %} -{% block footer %}{% endblock %} |
