aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2018-11-27 11:00:47 +0100
committerBogdan Dobrelya <bdobreli@redhat.com>2018-11-30 16:03:20 +0100
commit531d3dc0cd367759cae1ac09edffb90456aaa3ad (patch)
tree35bef64785fb7336319284df1c8ce917d40b0bb7
parent881be48a4c762f94bd4ee41ee2c176d507137508 (diff)
downloadkolla-531d3dc0cd367759cae1ac09edffb90456aaa3ad.tar.gz
kolla-531d3dc0cd367759cae1ac09edffb90456aaa3ad.zip
Use the base OS image for tripleoclient base
Building from openstack-base brings a lot of unneeded overhead into the end container. We only need a minimal setup, so let's rely on dependencies of the python-tripleo package instead of explicitly pulling in world from openstack-base. That saves space, and reduces potential attacks vectors and CVEs to maintain for the tripleoclient container. Related: blueprint zero-footprint Change-Id: If70351aac67bf62274a068cb4ebfe9c5270da5ae Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
-rw-r--r--docker/tripleoclient/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/tripleoclient/Dockerfile.j2 b/docker/tripleoclient/Dockerfile.j2
index 37d8defc7..ee9851e62 100644
--- a/docker/tripleoclient/Dockerfile.j2
+++ b/docker/tripleoclient/Dockerfile.j2
@@ -1,4 +1,4 @@
-FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
+FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block tripleoclient_header %}{% endblock %}