<commit_before>
FROM jamesdbloom/docker-java8-maven

MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -q -y build-essential
RUN apt-get install -q -y libkrb5-dev
RUN apt-get install -q -y libldap2-dev
RUN apt-get install -q -y libgmp3-dev
RUN apt-get install -q -y libmysqlclient-dev
RUN apt-get install -q -y libsasl2-dev
RUN apt-get install -q -y libsasl2-modules-gssapi-mit
RUN apt-get install -q -y libsqlite3-dev
RUN apt-get install -q -y libssl-dev
RUN apt-get install -q -y libtidy-0.99-0
RUN apt-get install -q -y libxml2-dev
RUN apt-get install -q -y libxslt-dev
RUN apt-get install -q -y mysql-server
RUN apt-get install -q -y python-dev
RUN apt-get install -q -y python-setuptools
RUN apt-get install -q -y python-simplejson
RUN ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/

RUN git clone https://github.com/cloudera/hue.git
WORKDIR hue
RUN git checkout tags/release-3.9.0

RUN make apps

RUN rm -rf .git

EXPOSE 8000

CMD ["build/env/bin/hue","runserver","0.0.0.0:8000"]<commit_msg>Updated the DockerFile to have less independant commands<commit_after>FROM jamesdbloom/docker-java8-maven
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -q -y build-essential libkrb5-dev libldap2-dev \
libgmp3-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit \
libsqlite3-dev libssl-dev libtidy-0.99-0 libxml2-dev libxslt-dev mysql-server \
python-dev python-setuptools python-simplejson

RUN ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/

RUN git clone https://github.com/cloudera/hue.git && groupadd -r hue && useradd -r -g hue hue
WORKDIR hue
RUN git checkout tags/release-3.9.0 && make apps && rm -rf .git
RUN chown -R hue:hue /local/git/hue

EXPOSE 8000

#USER hue
#CMD ["build/env/bin/hue","runserver","0.0.0.0:8000"]
{'fraction_non_alphanumeric': 0.12130801687763713, 'fraction_numerical': 0.03270042194092827, 'mean_word_length': 3.707196029776675, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, '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': '6014130', 'n_tokens_mistral': 777, 'n_tokens_neox': 738, 'n_words': 210}