From fee7ca28b4120634cd1f832458ff72711e2786de Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Wed, 30 Jul 2014 15:48:19 -0700 Subject: [PATCH] Bump IPA container to use Trusty Bump IPA container to use trusty. This gives us a newer version of pip which is required to install newer requirements that are packaged as wheels. Only other change to dockerfile is to ensure python 3 is removed, in order to avoid raising the size of the container. After this patch, the agent image goes up in size 3M, which is managable. Change-Id: I11f39fadb87d42dd15885e6afc63df2c927ce771 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c110a4f5..6e8da955b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM stackbrew/ubuntu:precise +FROM stackbrew/ubuntu:trusty # The add is before the RUN to ensure we get the latest version of packages # Docker will cache RUN commands, but because the SHA1 of the dir will be @@ -24,7 +24,7 @@ RUN pip install /tmp/ironic-python-agent RUN rm -rf /tmp/ironic-python-agent RUN rm -rf /var/lib/apt/lists/* -RUN apt-get -y purge perl gcc-4.6 gcc python2.7-dev git && \ +RUN apt-get -y purge perl gcc-4.6 gcc python2.7-dev git python3* && \ apt-get -y autoremove && \ apt-get clean