4b041b2b38
The job runs in gate pipeline. It creates a new image and pushes it into performa/shaker repo on Dockerhub. Change-Id: I85d26a03c812657138b2ceb2a0496ceb7d015577
23 lines
614 B
Docker
23 lines
614 B
Docker
FROM python:3.5
|
|
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 flent
|
|
WORKDIR /opt/shaker/
|
|
RUN python setup.py install
|
|
|
|
VOLUME /artifacts
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/shaker-all-in-one", "--artifacts-dir", "/artifacts", "--log-dir", "/artifacts"]
|