aboutsummaryrefslogtreecommitdiff
path: root/docker/fedora-rdo-base
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-07 14:53:52 +0000
committerGerrit Code Review <review@openstack.org>2015-04-07 14:53:52 +0000
commit5ea37557cf1d5600e0bb141e010a4bcdbd967162 (patch)
treed6c832a2b017df861c5cbc96733fba4d71edc5a0 /docker/fedora-rdo-base
parent7a29958949f04269956172817ca9ed39d1fb3802 (diff)
parentf4506ddd60de14e368b2f3599715369738766dd5 (diff)
downloadkolla-5ea37557cf1d5600e0bb141e010a4bcdbd967162.tar.gz
kolla-5ea37557cf1d5600e0bb141e010a4bcdbd967162.zip
Merge "Remove building of pam+noaudit and place in copr instead"
Diffstat (limited to 'docker/fedora-rdo-base')
-rw-r--r--docker/fedora-rdo-base/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/fedora-rdo-base/Dockerfile b/docker/fedora-rdo-base/Dockerfile
index a6f2400ff..f41cac97e 100644
--- a/docker/fedora-rdo-base/Dockerfile
+++ b/docker/fedora-rdo-base/Dockerfile
@@ -5,6 +5,8 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
RUN yum -y install dnf dnf-plugins-core && yum clean all
RUN dnf copr enable -y larsks/crux
+run dnf copr enable -y sdake/pam.noaudit
+
# Update packages
RUN yum update -y && yum clean all
@@ -91,6 +93,16 @@ RUN yum install -y \
python-wsme \
&& yum clean all
+# This is dirty like zebra. This works around a bug in Ubuntu 14.04 LTS. The
+# --net=host option does not work on ubuntu 14.04 because of a kernel bug. One
+# workaround is to build pam without authentication.
+# See:
+# https://registry.hub.docker.com/u/sequenceiq/pam/
+#
+RUN rpm -e --nodeps pam
+RUN yum -y install pam+noaudit && yum clean all
+# End dirty like zebra
+
RUN mkdir -p /opt/kolla
ADD service_hosts.sh /opt/kolla/service_hosts.sh
ADD kolla-common.sh /opt/kolla/kolla-common.sh