Oleksii Zhurba | 4ccdbf2 | 2018-09-04 21:00:19 -0500 | [diff] [blame^] | 1 | FROM ubuntu:16.04 |
| 2 | |
| 3 | USER root |
| 4 | |
| 5 | WORKDIR /var/lib/ |
| 6 | |
| 7 | RUN mkdir -p cvp-sanity-checks/ |
| 8 | |
| 9 | COPY . cvp-sanity-checks/ |
| 10 | |
| 11 | RUN apt-get update && \ |
| 12 | apt-get install -y python-pip git curl wget vim inetutils-ping && \ |
| 13 | python -m pip install --upgrade pip && \ |
| 14 | pip install -r cvp-sanity-checks/requirements.txt && \ |
| 15 | apt-get -y autoremove; apt-get -y clean |
| 16 | |
| 17 | RUN rm -rf /root/.cache && \ |
| 18 | rm -rf /var/lib/apt/lists/* && \ |
| 19 | rm -rf /tmp/* && \ |
| 20 | rm -rf /var/tmp/* |
| 21 | |
| 22 | ENTRYPOINT ["/bin/bash"] |