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
This commit is contained in:
parent
d8f5eb963e
commit
8e131e75e3
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user