FROM registry.yandex.net/mail/mail-trusty-common:latest

ARG   installdir
ARG   deploydir
COPY  $installdir /
COPY  $deploydir /

RUN   chmod 744 /usr/sbin/entrypoint.sh

CMD ["/usr/sbin/entrypoint.sh"]
