<commit_before># VERSION:        0.1
# DESCRIPTION:    Image to build Atom and create a .rpm file

# Base docker image
FROM fedora:21

# Install dependencies
RUN yum install -y \
    make \
    gcc \
    gcc-c++ \
    glibc-devel \
    git-core \
    libgnome-keyring-devel \
    rpmdevtools

RUN git clone https://github.com/creationix/nvm.git /tmp/.nvm
RUN source /tmp/.nvm/nvm.sh
RUN nvm install 4.4.7
RUN nvm use 4.4.7
RUN npm install -g npm --loglevel error

ADD . /atom
WORKDIR /atom<commit_msg>Use curl for rpm<commit_after># VERSION:        0.1
# DESCRIPTION:    Image to build Atom and create a .rpm file

# Base docker image
FROM fedora:21

RUN curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

# Install dependencies
RUN yum install -y \
    make \
    gcc \
    gcc-c++ \
    glibc-devel \
    git-core \
    libgnome-keyring-devel \
    rpmdevtools \
    nodejs \
    npm

RUN npm install -g npm --loglevel error

ADD . /atom
WORKDIR /atom
{'fraction_non_alphanumeric': 0.1026694045174538, 'fraction_numerical': 0.015400410677618069, 'mean_word_length': 2.228476821192053, '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': '2032246', 'n_tokens_mistral': 377, 'n_tokens_neox': 345, 'n_words': 110}