From 8e131e75e3ae3849ae1fcf67b9a46f94b01fc2dd Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Wed, 18 Jun 2014 15:47:29 -0700 Subject: [PATCH] Fix invalid command in Dockerfile This cleanup command was invalid. Not removing the apt lists adds a few unneeded megabytes to the agent image. Change-Id: I55ad4434d20a8984ea4cf5866360fd2622d811f4 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7433fd951..fe98971b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN pip install -r /tmp/ironic-python-agent/requirements.txt # This will succeed because all the dependencies were installed previously RUN pip install /tmp/ironic-python-agent RUN rm -rf /tmp/ironic-python-agent -RUN rm -rf rm -rf /var/lib/apt/lists/* +RUN rm -rf /var/lib/apt/lists/* RUN apt-get -y purge perl gcc-4.6 gcc python2.7-dev git && \ apt-get -y autoremove && \