aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-09-12 10:11:55 -0700
committerSteven Dake <stdake@cisco.com>2015-09-17 07:10:46 -0700
commitf39396cf7f5abad54db4d986c00a26f363bf6e73 (patch)
treec5618a5917d269406aa82a7f5a594674bbaa14e2 /docker/base/Dockerfile.j2
parent1b33345fb8b16269d80e9379ad217049946c04e4 (diff)
downloadkolla-f39396cf7f5abad54db4d986c00a26f363bf6e73.tar.gz
kolla-f39396cf7f5abad54db4d986c00a26f363bf6e73.zip
Install which if its not installed in base
Some variants of RHEL containers are missing the 'which' command. Percona's software used by mariadb depends on which, but doesn't have a hard dependency requirement since it is usually installed in the distribution. To make mariadb work multinode on RHEL, install which all the time for RPM distros. Change-Id: I2c6aaa77a1fc8b7028b658a0dfd1935c1f1d738e Partially-Implements: blueprint rhel-based-image-support
Diffstat (limited to 'docker/base/Dockerfile.j2')
-rw-r--r--docker/base/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index ceb51a94b..91f3adce7 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -148,6 +148,7 @@ RUN yum install -y \
python-webtest \
python-werkzeug \
python-wsme \
+ which \
&& yum clean all
# Endif for install_type binary
@@ -174,6 +175,7 @@ RUN yum update -y \
python-oslo-policy \
sqlite-devel \
tar \
+ which \
&& yum clean all
# Endif for install_type source