Merge "Leave git installed in docker builder"

This commit is contained in:
Jenkins 2016-02-04 21:53:41 +00:00 committed by Gerrit Code Review
commit ec849d8e22
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ RUN pip install --no-cache-dir -r /tmp/ironic-python-agent/requirements.txt
RUN pip install --no-cache-dir /tmp/ironic-python-agent
# Remove no longer needed packages
RUN apt-get -y purge gcc-4.6 gcc python2.7-dev git && \
# NOTE(jroll) leave git to avoid strange apt issues in downstream Dockerfiles
# that may inherit from this one.
RUN apt-get -y purge gcc-4.6 gcc python2.7-dev && \
apt-get -y autoremove && \
apt-get clean
RUN rm -rf /tmp/ironic-python-agent