FROM registry.yandex.net/spirit/ruby_fpm

COPY .dupload.conf /root

RUN mkdir -p /entry /root/.ssh \
  && printf "Host *\n    StrictHostKeyChecking no\n" > /root/.ssh/config

COPY entrypoint.sh /entry

ENTRYPOINT [ "/entry/entrypoint.sh" ]
