<commit_before>FROM ubuntu:latest
EXPOSE 8080
RUN echo "Installing dependencies..."
RUN apt-get update && apt-get install -y --force-yes wget build-essential clang rsync libpython-all-dev libedit-dev libicu52
RUN cd /
RUN wget https://swift.org/builds/ubuntu1404/swift-2.2-SNAPSHOT-2015-12-01-b/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04.tar.gz
RUN tar xzf swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04.tar.gz
RUN rsync -a -v swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04/usr/ /usr
RUN rm -rf swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04*<commit_msg>Reduce size of built Docker image<commit_after>FROM ubuntu:latest
EXPOSE 8080
RUN echo "Installing dependencies..."
RUN apt-get update && apt-get install -y --force-yes \
        wget \
        build-essential \
        clang \
        rsync \
        libpython-all-dev \
        libedit-dev \
        libicu52 && \
        apt-get clean
RUN cd /
RUN wget https://swift.org/builds/ubuntu1404/swift-2.2-SNAPSHOT-2015-12-01-b/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04.tar.gz && \
    tar xzf swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04.tar.gz && \
    rsync -a -v swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04/usr/ /usr && \
    rm -rf swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04*
{'fraction_non_alphanumeric': 0.15359477124183007, 'fraction_numerical': 0.12418300653594772, 'mean_word_length': 2.6029411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2709680', 'n_tokens_mistral': 613, 'n_tokens_neox': 511, 'n_words': 85}