<commit_before>FROM frodenas/ubuntu
MAINTAINER Dr <NAME>

ENV PG_VERSION=9.5
ENV POSTGIS_VERSION=2.2
RUN DEBIAN_FRONTEND=noninteractive \
    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
    echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main ${PG_VERSION}" > /etc/apt/sources.list.d/pgdg.list && \
    apt-get update -y && \
    apt-get install python python-dev python-psycopg2 python-yaml \
    python-requests python-boto python-dnspython python-kazoo python-pip \
    gdb strace libxml2-dev libxslt-dev libffi-dev lzop pv \
    libpq-dev \
    daemontools \
    postgresql-${PG_VERSION} \
    postgresql-${PG_VERSION}-postgis-${POSTGIS_VERSION} \
    postgresql-${PG_VERSION}-pgrouting \
    jq -y && \
    service postgresql stop && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install pip --upgrade
# WAL-e requests a relatively new version of requests, install other modules via pip as well
RUN pip install python-etcd requests six wal-e psycopg2 dnspython kazoo awscli --upgrade

ENV PATH /usr/lib/postgresql/${PG_VERSION}/bin:$PATH<commit_msg>Remove unneeded deps from postgresql95-patroni-base image<commit_after>FROM frodenas/ubuntu
MAINTAINER Dr <NAME>

ENV PG_VERSION=9.5
ENV POSTGIS_VERSION=2.2
RUN DEBIAN_FRONTEND=noninteractive \
    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
    echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main ${PG_VERSION}" > /etc/apt/sources.list.d/pgdg.list && \
    apt-get update -y && \
    apt-get install python python-dev python-pip lzop pv \
    daemontools libpq-dev \
    postgresql-${PG_VERSION} \
    postgresql-${PG_VERSION}-postgis-${POSTGIS_VERSION} \
    postgresql-${PG_VERSION}-pgrouting \
    jq -y && \
    service postgresql stop && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install pip --upgrade
RUN pip install wal-e awscli --upgrade

ENV PATH /usr/lib/postgresql/${PG_VERSION}/bin:$PATH
{'fraction_non_alphanumeric': 0.13398533007334965, 'fraction_numerical': 0.008312958435207823, 'mean_word_length': 3.158536585365854, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6949670', 'n_tokens_mistral': 778, 'n_tokens_neox': 744, 'n_words': 166}