032740957e
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> |
||
---|---|---|
.. | ||
Dockerfile | ||
README.rst |
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/mariadbsudo docker push docker.io/openstackhelm/mariadb:10.2.18