<commit_before>FROM evarga/jenkins-slave
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get -y upgrade

RUN apt-get install -y build-essential
RUN apt-get install -y openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

# avvo dependencies
RUN apt-get install -y git-core libmysqlclient-dev mysql-client libaspell-dev libmagick++-dev imagemagick libhunspell-dev zip

# install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys <KEY>
RUN curl -sSL https://get.rvm.io | bash -s stable

# install ruby
RUN /bin/bash -l -c "rvm install ruby-2.2.2"
RUN /bin/bash -l -c "rvm default do gem install bundler"

# install phantomjs - this is super slow...
ADD install_phantomjs.sh /
RUN /install_phantomjs.sh

# symlink phantomjs into global bin path
RUN ln -s /phantomjs/bin/phantomjs /bin/phantomjs

# install node
RUN apt-get install -y nodejs npm

# install wkhtmltopdf
ADD install_wkhtmltopdf.sh /
RUN /install_wkhtmltopdf.sh

# jenkins workspace
RUN mkdir -p /tmp/workspace
RUN chmod 777 /tmp/workspace

# custom jenkins workspace for avvo-multi
mkdir -p /var/lib/jenkins/checkout
chmod 777 /var/lib/jenkins/checkout<commit_msg>Fix syntax.<commit_after>FROM evarga/jenkins-slave
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get -y upgrade

RUN apt-get install -y build-essential
RUN apt-get install -y openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

# avvo dependencies
RUN apt-get install -y git-core libmysqlclient-dev mysql-client libaspell-dev libmagick++-dev imagemagick libhunspell-dev zip

# install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys <KEY>
RUN curl -sSL https://get.rvm.io | bash -s stable

# install ruby
RUN /bin/bash -l -c "rvm install ruby-2.2.2"
RUN /bin/bash -l -c "rvm default do gem install bundler"

# install phantomjs - this is super slow...
ADD install_phantomjs.sh /
RUN /install_phantomjs.sh

# symlink phantomjs into global bin path
RUN ln -s /phantomjs/bin/phantomjs /bin/phantomjs

# install node
RUN apt-get install -y nodejs npm

# install wkhtmltopdf
ADD install_wkhtmltopdf.sh /
RUN /install_wkhtmltopdf.sh

# jenkins workspace
RUN mkdir -p /tmp/workspace
RUN chmod 777 /tmp/workspace

# custom jenkins workspace for avvo-multi
RUN mkdir -p /var/lib/jenkins/checkout
RUN chmod 777 /var/lib/jenkins/checkout
{'fraction_non_alphanumeric': 0.09136468774094063, 'fraction_numerical': 0.013107170393215111, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '849869', 'n_tokens_mistral': 972, 'n_tokens_neox': 912, 'n_words': 292}