Proskurin Kirill f6cb272b50 Add apt-get update to base-tools
Change-Id: I7d9393100c2503c5e519a4bc87720185961542e2
2017-01-17 11:32:50 +00:00

13 lines
422 B
Django/Jinja

FROM {{ image_spec("base") }}
MAINTAINER {{ maintainer }}
COPY requirements.txt /tmp/requirements.txt
RUN apt-get update \
&& apt-get install -y --no-install-recommends netcat lvm2 open-iscsi tgt vim less patch gcc python-dev \
&& apt-get clean \
&& pip install --no-cache-dir -r /tmp/requirements.txt \
&& rm /tmp/requirements.txt \
&& apt-get -y purge gcc python-dev \
&& apt-get -y autoremove