FROM registry.yandex.net/ubuntu:bionic

RUN apt-get update && \
    apt-get install -y -q0 --no-install-recommends \
    nginx \
    libperl-dev \
    sudo \
    telnet \
    lsof \
    strace \
    tcpdump \
    net-tools \
    openssh-client \
    bind9-host

COPY nginx.conf /etc/nginx/
COPY public.api.conf /etc/nginx/sites-enabled/

COPY start.sh /

CMD /start.sh
