FROM registry.yandex.net/ubuntu:bionic

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get -y install \
    yandex-openjdk17 \
    ca-certificates-java \
    telnet \
    iputils-ping \
    jq \
    python \
    net-tools \
    openssh-client \
    -q0

COPY root /root
RUN chmod +x /root/entrypoint.sh

CMD ["/root/entrypoint.sh"]
