<commit_before>FROM ruby:2.3.0


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

RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libssl-dev libyaml-dev libreadline-dev openssl curl git-core zlib1g-dev bison libxml2-dev libxslt1-dev libcurl4-openssl-dev libsqlite3-dev sqlite3 wget apache2 apt-transport-https nodejs nodejs-legacy npm mysql-client postfix

#New Relic
#RUN echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list
#RUN wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add -
#RUN apt-get update
#RUN apt-get install newrelic-sysmond -y
#RUN nrsysmond-config --set license_key=$NEW_RELIC_LICENSE_KEY

#Passenger
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>
RUN echo deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main >> /etc/apt/sources.list.d/passenger.list
RUN chown root: /etc/apt/sources.list.d/passenger.list
RUN chmod 600 /etc/apt/sources.list.d/passenger.list
RUN apt-get update
RUN apt-get install -y libapache2-mod-passenger<commit_msg>apt-get clean before update to fix deployment error<commit_after>FROM ruby:2.3.0


RUN apt-get clean && apt-get update
RUN apt-get -y upgrade

RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libssl-dev libyaml-dev libreadline-dev openssl curl git-core zlib1g-dev bison libxml2-dev libxslt1-dev libcurl4-openssl-dev libsqlite3-dev sqlite3 wget apache2 apt-transport-https nodejs nodejs-legacy npm mysql-client postfix

#New Relic
#RUN echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list
#RUN wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add -
#RUN apt-get update
#RUN apt-get install newrelic-sysmond -y
#RUN nrsysmond-config --set license_key=$NEW_RELIC_LICENSE_KEY

#Passenger
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>
RUN echo deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main >> /etc/apt/sources.list.d/passenger.list
RUN chown root: /etc/apt/sources.list.d/passenger.list
RUN chmod 600 /etc/apt/sources.list.d/passenger.list
RUN apt-get update
RUN apt-get install -y libapache2-mod-passenger
{'fraction_non_alphanumeric': 0.10985020426690877, 'fraction_numerical': 0.017249205628688154, 'mean_word_length': 4.441975308641975, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5152796', 'n_tokens_mistral': 815, 'n_tokens_neox': 778, 'n_words': 196}