Prevent python 2.7 from being purged in container

Python 2.7 is being removed, somehow, despite python3 being specified.
This should fix the issue and make the container usable again.

Change-Id: Ida8aa7e527f8230cc893adf9192003340fc0dbf5
This commit is contained in:
Jay Faulkner 2014-07-31 15:02:18 -07:00
parent fee7ca28b4
commit 992c4b745d

View File

@ -24,7 +24,8 @@ 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 python3* && \
RUN apt-get -y purge perl gcc-4.6 gcc python2.7-dev git python3 \
python3-minimal python3.4 python3.4-minimal && \
apt-get -y autoremove && \
apt-get clean