From 08e5a0128f8fb2dec59344a79a5c44ef7843e9b4 Mon Sep 17 00:00:00 2001 From: zhubingbing <1392607554@qq.com> Date: Thu, 8 Dec 2016 07:18:43 +0000 Subject: [PATCH] Fix panko dockerfile Change-Id: I809a36209863c88680e756186dbcee7459003586 --- docker/panko/panko-base/Dockerfile.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/panko/panko-base/Dockerfile.j2 b/docker/panko/panko-base/Dockerfile.j2 index 98c95fc740..43f6ce7cec 100644 --- a/docker/panko/panko-base/Dockerfile.j2 +++ b/docker/panko/panko-base/Dockerfile.j2 @@ -46,12 +46,11 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf RUN truncate -s 0 /etc/apache2/ports.conf {% endif %} - ADD panko-base-archive /panko-base-source RUN ln -s panko-base-source/* panko \ && useradd --user-group panko \ - && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt \ + && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /panko \ && mkdir -p /etc/panko /home/panko \ && cp -r /panko/etc/panko/* /etc/panko/ \ && chown -R panko: /etc/panko /home/panko