<commit_before># Latest Ubuntu LTS
FROM ubuntu:14.04

# Install Ansible
RUN apt-get update && \
    apt-get install --no-install-recommends -y software-properties-common && \
    apt-add-repository ppa:ansible/ansible && \
    apt-get update && \
    apt-get install -y ansible

# Make sure only ansible host is localhost
RUN echo '[local]\nlocalhost\n' > /etc/ansible/hosts

# Copy our ansible files
COPY playbook.yml /tmp/playbook.yml
COPY roles /tmp/roles/

# Provision the image
RUN ansible-playbook --connection=local /tmp/playbook.yml

# Remove ansible
RUN apt-get purge -y --auto-remove ansible software-properties-common

# Install our aws-startup-utils
COPY scripts /usr/local/aws-startup-utils/bin
RUN chmod -R 0500 /usr/local/aws-startup-utils/bin
WORKDIR /usr/local/aws-startup-utils/bin<commit_msg>paths<commit_after># Latest Ubuntu LTS
FROM ubuntu:14.04

# Install Ansible
RUN apt-get update && \
    apt-get install --no-install-recommends -y software-properties-common && \
    apt-add-repository ppa:ansible/ansible && \
    apt-get update && \
    apt-get install -y ansible

# Make sure only ansible host is localhost
RUN echo '[local]\nlocalhost\n' > /etc/ansible/hosts

# Copy our ansible files
COPY playbook.yml /tmp/playbook.yml
COPY roles /tmp/roles/

# Provision the image
RUN ansible-playbook --connection=local /tmp/playbook.yml

# Remove ansible
RUN apt-get purge -y --auto-remove ansible software-properties-common

# Install our aws-startup-utils
COPY scripts /opt/aws-startup-utils
RUN chmod -R 0500 /opt/aws-startup-utils
WORKDIR /opt/aws-startup-utils
{'fraction_non_alphanumeric': 0.11237373737373738, 'fraction_numerical': 0.010101010101010102, 'mean_word_length': 3.5677233429394812, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6142355', 'n_tokens_mistral': 563, 'n_tokens_neox': 524, 'n_words': 147}