# Use an official Python runtime as a parent image
FROM registry.yandex.net/ubuntu:xenial
MAINTAINER Anton Grigoryev <griganton@yandex-team.ru>

ENV WORKDIR /launcher
WORKDIR $WORKDIR

RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held-packages \
    redis-server \
    haproxy \
    supervisor

ADD . /

# start supervisord
CMD ["/usr/bin/supervisord"]
