Install necessary tools inside Docker image
Change-Id: I7d7e0ae2e395ab190a6a4a1a1a743dddf222153b
This commit is contained in:
parent
f9f059ee3d
commit
4f5005c779
13
Dockerfile
13
Dockerfile
@ -1,8 +1,17 @@
|
||||
FROM python:3.5
|
||||
MAINTAINER Ilya Shakhat <shakhat@gmail.com>
|
||||
LABEL maintainer "Ilya Shakhat <shakhat@gmail.com>"
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user