From 4f5005c7798312072b9b14117f45682ff9301c44 Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Tue, 4 Apr 2017 15:10:45 +0400 Subject: [PATCH] Install necessary tools inside Docker image Change-Id: I7d7e0ae2e395ab190a6a4a1a1a743dddf222153b --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 213b8c2..2cd6ba5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,17 @@ FROM python:3.5 -MAINTAINER Ilya Shakhat +LABEL maintainer "Ilya Shakhat " + +RUN echo "deb http://httpredir.debian.org/debian jessie non-free" >> /etc/apt/sources.list \ + && apt-get update \ + && apt-get -y install --no-install-recommends \ + iperf \ + iperf3 \ + netperf \ + python-openstackclient \ + && apt-get clean ADD . /opt/shaker/ -RUN pip install -r /opt/shaker/requirements.txt +RUN pip install -r /opt/shaker/requirements.txt flent WORKDIR /opt/shaker/ RUN python setup.py install