FROM registry.yandex.net/ubuntu:bionic

RUN apt-get update \
    && apt-get install -y -q0 --no-install-recommends \
    openssh-client \
    net-tools \
    telnet \
    tcpdump \
    libperl5.26 \
    iputils-ping \
    iproute2 \
    nginx \
    && apt-get clean

COPY checker /
COPY nginx.conf /etc/nginx/
COPY start.sh /

CMD /start.sh
