diff options
| author | Éric Lemoine <elemoine@mirantis.com> | 2016-02-22 02:52:04 -0800 |
|---|---|---|
| committer | Éric Lemoine <elemoine@mirantis.com> | 2016-02-22 17:43:51 +0100 |
| commit | c0e46f0c5fea0d26267d78b0801109a07e561aaa (patch) | |
| tree | b272135457a600d751e8cb2b012061d411300377 /docker | |
| parent | 2069aaa2e3a74ea7a2949fe32f4e005330144065 (diff) | |
| download | kolla-c0e46f0c5fea0d26267d78b0801109a07e561aaa.tar.gz kolla-c0e46f0c5fea0d26267d78b0801109a07e561aaa.zip | |
Run yum clean all in Heka Dockerfile
This follows up on a review comment from Steven Dake. See
https://review.openstack.org/#/c/275840/14/docker/heka/Dockerfile.j2@21
Closes-Bug: #1547535
Partially implements: blueprint heka
Change-Id: I4f5094145d8f5bbc04fe23e64c6a39719775bae4
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/heka/Dockerfile.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/heka/Dockerfile.j2 b/docker/heka/Dockerfile.j2 index 64b669675..c4ff8fd19 100644 --- a/docker/heka/Dockerfile.j2 +++ b/docker/heka/Dockerfile.j2 @@ -4,6 +4,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} RUN yum -y install https://github.com/mozilla-services/heka/releases/download/v0.10.0/heka-0_10_0-linux-amd64.rpm \ + && yum clean all \ && useradd --user-group heka {% elif base_distro in ['ubuntu'] %} |
