FROM registry.yandex.net/ubuntu:bionic
MAINTAINER aqru@yandex-team.ru

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
    && apt-get install -y apt-utils \
    && apt-get install -y yandex-openjdk15=15.0.1-tzdata2020e \
    && apt-get install -y --no-install-recommends tzdata=2020e-0~yandex~ubuntu18.04 \
    && echo Europe/Moscow >/etc/timezone \
    && ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime \
    && dpkg-reconfigure -f noninteractive tzdata \
    && apt-get install -y telnet tcpdump bind9-host traceroute \
    && apt-get install -y locales \
    && locale-gen en_US.UTF-8 \
    && update-locale LANG=en_US.UTF-8 \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*