FROM registry.yandex.net/ubuntu:trusty

RUN apt-get update && apt-get install --force-yes -y yabs-graphite-sender \
                                                     yandex-passport-vault-client \
                                                     yandex-netconfig \
                                                     host \
                                                     htop \
                                                     iptables \
                                                     linux-tools-4.4.0-148-lowlatency \
                                                     lsof \
                                                     openssh-client \
                                                     tcpdump \
                                                     telnet \
                                                     tree

RUN locale-gen en_US.utf8

RUN rm /usr/bin/perf && ln -s /usr/lib/linux-lts-xenial-tools-4.4.0-148/perf /usr/bin/perf

COPY graphite-client.cfg /etc/yabs-graphite-client/graphite-client.cfg
