<commit_before># The image that serves as the base for our custom image
FROM markadams/chromium-xvfb

# Set the working directory
WORKDIR /usr

# Add a few items to path for yarn/aws
ENV PATH=$PATH:/usr/local/bin:~/.yarn/bin:~/.local/bin

# AWS CLI needs the PYTHONIOENCODING environment varialbe to handle UTF-8 correctly:
ENV PYTHONIOENCODING=UTF-8

RUN curl -sL https://deb.nodesource.com/setup_7.x | bash - && \
    apt-get update && DEBIAN_FRONTEND="noninteractive" && \
    apt-get install -y --no-install-recommends \
    git \
    nodejs \
    libgconf-2-4 \
    openjdk-7-jre-headless \
    openssh-server \
    python-pip \
    python-dev \
    build-essential  \
    build-essential \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip && \
    pip install awscli --upgrade --user

RUN npm i -g yarn && npm rebuild node-sass

# Install global tools<commit_msg>WIP: docker image broken using node 8<commit_after># The image that serves as the base for our custom image
FROM markadams/chromium-xvfb

# Set the working directory
WORKDIR /usr

# Add a few items to path for yarn/aws
ENV PATH=$PATH:/usr/local/bin:~/.yarn/bin:~/.local/bin

# AWS CLI needs the PYTHONIOENCODING environment varialbe to handle UTF-8 correctly:
ENV PYTHONIOENCODING=UTF-8

RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
    apt-get update && DEBIAN_FRONTEND="noninteractive" && \
    apt-get install -y --no-install-recommends \
    git \
    nodejs \
    libgconf-2-4 \
    openjdk-7-jre-headless \
    openssh-server \
    python-pip \
    python-dev \
    build-essential  \
    build-essential \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip && \
    pip install awscli --upgrade --user

RUN npm i -g yarn && npm rebuild node-sass

# Install global tools
{'fraction_non_alphanumeric': 0.11414253897550111, 'fraction_numerical': 0.007238307349665924, 'mean_word_length': 2.705154639175258, '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': '4289625', 'n_tokens_mistral': 661, 'n_tokens_neox': 618, 'n_words': 181}