yandex-tank/docker/Dockerfile.dev
Alexey Lavrenuke 729a981fc8 use
2016-08-02 17:20:31 +03:00

39 lines
1.6 KiB
Docker

# Yandex.Tank
#
# VERSION 0.0.3
FROM ubuntu:xenial
MAINTAINER Alexey Lavrenuke <direvius@yandex-team.ru>
LABEL Description="Developer version of Yandex.Tank from github master branch with phantom" Vendor="Yandex" Version="0.0.3"
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y sudo && \
apt-get install -y wget && \
apt-get install software-properties-common -y && \
add-apt-repository ppa:yandex-load/main -y && \
apt-get update && apt-get install -y python-pip phantom phantom-ssl
ENV TELEGRAF_VERSION 0.13.1
RUN gpg --keyserver hkp://ha.pool.sks-keyservers.net --recv-keys 05CE15085FC09D18E99EFB22684A14CF2582E0C5 && \
wget -q https://dl.influxdata.com/telegraf/releases/telegraf_${TELEGRAF_VERSION}_amd64.deb.asc && \
wget -q https://dl.influxdata.com/telegraf/releases/telegraf_${TELEGRAF_VERSION}_amd64.deb && \
gpg --batch --verify telegraf_${TELEGRAF_VERSION}_amd64.deb.asc telegraf_${TELEGRAF_VERSION}_amd64.deb && \
dpkg -i telegraf_${TELEGRAF_VERSION}_amd64.deb && \
rm -f telegraf_${TELEGRAF_VERSION}_amd64.deb*
RUN BUILD_DEPS="python-dev build-essential gfortran libssl-dev libffi-dev" && \
apt-get install -y ${BUILD_DEPS} && \
pip install --upgrade pip && \
pip install --upgrade setuptools && \
pip install https://api.github.com/repos/yandex/yandex-tank/tarball/dev && \
apt-get autoremove -y ${BUILD_DEPS} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
VOLUME ["/var/loadtest"]
WORKDIR /var/loadtest
ENTRYPOINT /usr/local/bin/yandex-tank