<commit_before>FROM cfcommunity/postgresql-base:9.4
MAINTAINER Dr <NAME>

RUN apt-get install python python-psycopg2 python-yaml \
    python-requests python-boto python-dnspython python-kazoo python-pip -y && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install python-etcd

ENV PATH /usr/lib/postgresql/${PG_VERSION}/bin:$PATH


ADD patroni /patroni

# Add scripts
ADD scripts /scripts
RUN chmod +x /scripts/*.sh
RUN touch /pgpass /patroni/postgres.yml
RUN chown postgres:postgres -R /patroni/ /data/ /pgpass

# Command to run
ENTRYPOINT ["/scripts/run.sh"]
CMD [""]

# Expose listen port
EXPOSE 5432

# Expose our data directory
VOLUME ["/data"]
USER postgres
<commit_msg>python failed to be discovered; try apt-get update<commit_after>FROM cfcommunity/postgresql-base:9.4
MAINTAINER Dr <NAME>

RUN DEBIAN_FRONTEND=noninteractive \
    apt-get update -y && \
    apt-get install python python-psycopg2 python-yaml \
    python-requests python-boto python-dnspython python-kazoo python-pip -y && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pip install python-etcd

ENV PATH /usr/lib/postgresql/${PG_VERSION}/bin:$PATH


ADD patroni /patroni

# Add scripts
ADD scripts /scripts
RUN chmod +x /scripts/*.sh
RUN touch /pgpass /patroni/postgres.yml
RUN chown postgres:postgres -R /patroni/ /data/ /pgpass

# Command to run
ENTRYPOINT ["/scripts/run.sh"]
CMD [""]

# Expose listen port
EXPOSE 5432

# Expose our data directory
VOLUME ["/data"]
USER postgres

{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.00922874093605801, 'mean_word_length': 3.6280487804878048, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6525194', 'n_tokens_mistral': 557, 'n_tokens_neox': 538, 'n_words': 157}