<commit_before>FROM ubuntu
MAINTAINER Grow SDK Authors <<EMAIL>>

RUN apt-get update && apt-get install -y python python-pip git curl nodejs npm
RUN npm install -g bower
RUN npm install -g gulp
RUN \
  URL=https://raw.github.com/grow/grow/master/install.py \
  && scratch=$(mktemp -d -t tmp.0.0.46.XXXXXXXXX) || exit \
  && script_file=$scratch/install_growsdk.py \
  && curl -fsSL $URL > $script_file || exit \
  && chmod 775 $script_file \
  && python $script_file --force<commit_msg>Update Dockerfile to use pip-installed Grow. Note that the git URL should be pinned to a release however using this for now for testing the Docker workflow.<commit_after>FROM ubuntu
MAINTAINER Grow SDK Authors <<EMAIL>>
RUN apt-get update && \
  apt-get install -y \
  python \
  python-pip \
  libyaml-dev \
  git \
  nodejs \
  npm
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g bower
RUN npm install -g gulp
RUN echo "{ \"allow_root\": true }" > $HOME/.bowerrc
RUN pip install git+git://github.com/grow/grow.git
ENTRYPOINT ["grow"]
{'fraction_non_alphanumeric': 0.12209302325581395, 'fraction_numerical': 0.006782945736434108, 'mean_word_length': 3.3586497890295357, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '1612513', 'n_tokens_mistral': 368, 'n_tokens_neox': 341, 'n_words': 118}