openstack-helm-infra/tools/images/mariadb
Stamatis Katsaounis 032740957e Pin pip to 18.1 to allow build of docker images
Task: 29045
Story: 2004843

This patch pins pip to 18.1 as the latest pip 19.0 has a problem with
--no-cache-dir option. This problem is causing the build of docker
images of mariadb and kubeadm-aio to fail when they upgrade the
setuptools package.

Change-Id: If2b76249eeacec519a6a76605607ba6f3f81ac7d
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-01-23 11:56:10 +02:00
..
Dockerfile Pin pip to 18.1 to allow build of docker images 2019-01-23 11:56:10 +02:00
README.rst MariaDB: Galera cluster refactor 2018-10-25 06:21:01 +00:00

MariaDB Container

This container builds an image with MariaDB for use with OpenStack-Helm.

Instructions

OS Specific Host setup:

Ubuntu:

From a freshly provisioned Ubuntu 16.04 LTS host run:

sudo apt-get update -y
sudo apt-get install -y \
        docker.io \
        git

Build the MariaDB Image

A known good image is published to dockerhub on a fairly regular basis, but if you wish to build your own image, from the root directory of the OpenStack-Helm repo run:

sudo docker build \
  --network=host \
  --force-rm \
  --pull \
  --no-cache \
  --file=./tools/images/mariadb/Dockerfile \
  -t docker.io/openstackhelm/mariadb:10.2.18 \
  tools/images/mariadb
sudo docker push docker.io/openstackhelm/mariadb:10.2.18