FROM registry.yandex.net/mail/mail-trusty-common:latest
LABEL maintainer="spirit-1984@yandex-team.ru"
RUN apt-get update -qq; 
RUN apt-get install -y yandex-passport-tvmtool
ADD tvmtool.conf /etc/tvmtool/tvmtool.conf
ENTRYPOINT ["tvmtool", "--port", "8080", "-c", "/etc/tvmtool/tvmtool.conf",  "-u", "--dangerous-interface", "*"]