FROM registry.yandex.net/ubuntu:bionic

RUN apt-get update && apt-get install supervisor openssh-client --force-yes -y

COPY root /root
COPY supervisor/* /etc/supervisor/conf.d/

RUN chmod +x /root/entrypoint.sh

CMD ["/root/entrypoint.sh"]
