<commit_before>FROM ubuntu:wily
MAINTAINER <EMAIL>

# apt-get install wget
# Add the ambari repo to the repository list
RUN cd /etc/apt/sources.list.d && \
    wget http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/ambari.list && \
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD && \
    apt-get update && \
    apt-get install ambari-server

# Run ambari setup with the default settings
RUN ambari-server setup -s
<commit_msg>Amabri Dockerfile ready<commit_after>FROM ubuntu:trusty
MAINTAINER <EMAIL>

# We need wget to download the ambari repo
RUN apt-get update && \
    apt-get -y install wget sudo ssh

# Add the ambari repo to the repository list
RUN cd /etc/apt/sources.list.d && \
    wget http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/ambari.list && \
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD && \
    apt-get update && \
    apt-get install -y ambari-server

RUN mkdir ~/.ssh && \
    chmod 700 ~/.ssh && \
    ssh-keygen -f ~/.ssh/id_rsa -N "" && \
    cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys && \
    chmod 600 ~/.ssh/authorized_keys && \
    service ssh start


# Run ambari setup with the default settings
RUN ambari-server setup -s

{'fraction_non_alphanumeric': 0.13050314465408805, 'fraction_numerical': 0.0330188679245283, 'mean_word_length': 2.8693009118541033, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1600588', 'n_tokens_mistral': 514, 'n_tokens_neox': 455, 'n_words': 120}