<commit_before># docker build -t kalabox/drush .

FROM kalabox/php-appserver:v0.9.0

# Install dependencies
RUN \
  apt-get -y update && \
  apt-get -y install libxslt1 php5-curl mysql-client postgresql-client-common sqlite

# Install Composer and some drushes
RUN \
  curl -sS https://getcomposer.org/installer | php && \
  mv composer.phar /usr/local/bin/composer && \
  ln -s /usr/local/bin/composer /usr/bin/composer && \
  git clone --depth 1 --branch 5.11.0 https://github.com/drush-ops/drush.git /usr/local/src/drush5 && \
  git clone --depth 1 --branch 6.6.0 https://github.com/drush-ops/drush.git /usr/local/src/drush6 && \
  git clone --depth 1 --branch 7.0.0-rc2 https://github.com/drush-ops/drush.git /usr/local/src/drush7 && \
  git clone --depth 1 --branch backdrush https://github.com/pirog/drush.git /usr/local/src/backdrush && \
  ln -s /usr/local/src/drush5/drush /usr/bin/drush5 && \
  ln -s /usr/local/src/drush6/drush /usr/bin/drush6 && \
  ln -s /usr/local/src/drush7/drush /usr/bin/drush7 && \
  cd /usr/local/src/drush7 && composer install --no-dev && \
  ln -s /usr/local/src/backdrush/drush /usr/bin/backdrush && \
  cd /usr/local/src/backdrush && composer install --no-dev

# Set up our kalabox specific stuff
COPY kdrush /usr/local/bin/kdrush
COPY ssh-config /root/.ssh/config

# Set default php version
ENV PHP_VERSION 5.4.40

# Set up our drush root
RUN \
  chmod +x /usr/local/bin/kdrush && \
  mkdir -p /root/.ssh && mkdir -p /usr/share/drush/commands && \
  ln -s /src/config/drush /root/.drush

# Install some extra goodies
RUN \
  cd /usr/share/drush/commands && \
  curl -L "http://ftp.drupal.org/files/projects/registry_rebuild-7.x-2.2.tar.gz" | tar -zvx

ENTRYPOINT ["/usr/local/bin/kdrush"]
<commit_msg>Update Dockerfile<commit_after># docker build -t kalabox/drush .

FROM kalabox/php-appserver:v0.9.0

# Install dependencies
RUN \
  apt-get -y update && \
  apt-get -y install php5-curl mysql-client postgresql-client-common sqlite

# Install Composer and some drushes
RUN \
  curl -sS https://getcomposer.org/installer | php && \
  mv composer.phar /usr/local/bin/composer && \
  ln -s /usr/local/bin/composer /usr/bin/composer && \
  git clone --depth 1 --branch 5.11.0 https://github.com/drush-ops/drush.git /usr/local/src/drush5 && \
  git clone --depth 1 --branch 6.6.0 https://github.com/drush-ops/drush.git /usr/local/src/drush6 && \
  git clone --depth 1 --branch 7.0.0-rc2 https://github.com/drush-ops/drush.git /usr/local/src/drush7 && \
  git clone --depth 1 --branch backdrush https://github.com/pirog/drush.git /usr/local/src/backdrush && \
  ln -s /usr/local/src/drush5/drush /usr/bin/drush5 && \
  ln -s /usr/local/src/drush6/drush /usr/bin/drush6 && \
  ln -s /usr/local/src/drush7/drush /usr/bin/drush7 && \
  cd /usr/local/src/drush7 && composer install --no-dev && \
  ln -s /usr/local/src/backdrush/drush /usr/bin/backdrush && \
  cd /usr/local/src/backdrush && composer install --no-dev

# Set up our kalabox specific stuff
COPY kdrush /usr/local/bin/kdrush
COPY ssh-config /root/.ssh/config

# Set default php version
ENV PHP_VERSION 5.4.40

# Set up our drush root
RUN \
  chmod +x /usr/local/bin/kdrush && \
  mkdir -p /root/.ssh && mkdir -p /usr/share/drush/commands && \
  ln -s /src/config/drush /root/.drush

# Install some extra goodies
RUN \
  cd /usr/share/drush/commands && \
  curl -L "http://ftp.drupal.org/files/projects/registry_rebuild-7.x-2.2.tar.gz" | tar -zvx

ENTRYPOINT ["/usr/local/bin/kdrush"]

{'fraction_non_alphanumeric': 0.16498993963782696, 'fraction_numerical': 0.02098304110376545, 'mean_word_length': 2.72192513368984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '5367815', 'n_tokens_mistral': 1435, 'n_tokens_neox': 1370, 'n_words': 296}