FROM node:12.22.10-slim

RUN apt-get update && apt-get install -y gnupg2 \
   && echo 'deb http://common.dist.yandex.ru/common stable/all/' > /etc/apt/sources.list.d/yandex.list \
   && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7FCD11186050CD1A \
   && apt-get update && apt-get install --no-install-recommends -y \
      yandex-internal-root-ca \
      procps \
      vim \
      mc \
      curl \
   && apt-get clean \
   && rm -rf /var/lib/apt/lists/*
