<commit_before>FROM python:3.6.1-slim

RUN mkdir /app

RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' > /etc/apt/sources.list.d/pgdg.list && \
    apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y --no-install-recommends gnupg2 jq wget vim curl && \
    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
      apt-key add - && \
    apt-get update && \
    apt-get install -y --no-install-recommends postgresql-client-9.5
COPY /create-db-dump.sh /app/create-db-dump.sh
COPY /upload-dump-to-s3.py /app/upload-dump-to-s3.py

CMD ["tail", "-f", "/dev/null"]<commit_msg>Update `pg_dump` in db-backup container<commit_after>FROM python:3.6-slim

RUN mkdir /app

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y --no-install-recommends gnupg2 jq wget vim curl postgresql-client

COPY /create-db-dump.sh /app/create-db-dump.sh
COPY /upload-dump-to-s3.py /app/upload-dump-to-s3.py

CMD ["tail", "-f", "/dev/null"]
{'fraction_non_alphanumeric': 0.17382617382617382, 'fraction_numerical': 0.014985014985014986, 'mean_word_length': 2.697416974169742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '3352317', 'n_tokens_mistral': 413, 'n_tokens_neox': 401, 'n_words': 83}