From 531d3dc0cd367759cae1ac09edffb90456aaa3ad Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Tue, 27 Nov 2018 11:00:47 +0100 Subject: [PATCH] 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 --- docker/tripleoclient/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/tripleoclient/Dockerfile.j2 b/docker/tripleoclient/Dockerfile.j2 index 37d8defc7a..ee9851e62b 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 %}