FROM registry.yandex.net/maps/core-base-bionic:9754240
MAINTAINER Alexey Ponomarev <ponomarev@yandex-team.ru>

RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update || true && \
    apt-get install --yes unzip \
                          postgresql-client-11

COPY install /

