FROM registry.yandex.net/rtc-base/bionic:stable

MAINTAINER Andrew Krasichkov "buglloc@yandex-team.ru"
ENV DEBIAN_FRONTEND noninteractive
ENV DIST bionic

RUN set -xe && \
    apt update -y && \
    apt install --no-install-recommends -y curl tcpdump locales tzdata && \
    apt clean all && \
    echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
    echo "LANG=en_US.UTF-8" >> /etc/locale.conf && \
    locale-gen en_US.UTF-8 && \
    ln -snf /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
    dpkg-reconfigure tzdata
