<commit_before>FROM alpine:3.6

MAINTAINER 张仪 <<EMAIL>>
RUN apk add --no-cache --update-cache curl tar gzip wget openjdk8-jre && \
    mkdir /opt && \
    curl -skSL http://apache.fayea.com/tomcat/tomcat-7/v7.0.78/bin/apache-tomcat-7.0.78.tar.gz|tar -C /opt -xzf - && \
    mv -v /opt/apache-tomcat-7.0.76 /opt/apache-tomcat && \
    rm -rvf /opt/apache-tomcat/webapps/* && \
    wget -O /opt/apache-tomcat/webapps/ROOT.war https://github.com/jgraph/draw.io/releases/download/v6.7.8/draw.war

WORKDIR /opt/apache-tomcat

ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
ENV PATH $JAVA_HOME/bin:$PATH
ENV CATALINA_HOME /opt/apache-tomcat

EXPOSE 8080

CMD ["/opt/apache-tomcat/bin/catalina.sh", "run"]
<commit_msg>update draw<commit_after>FROM alpine:3.6

MAINTAINER 张仪 <<EMAIL>>
RUN apk add --no-cache --update-cache curl tar gzip wget openjdk8-jre && \
    mkdir /opt && \
    curl -skSL http://www-us.apache.org/dist/tomcat/tomcat-7/v7.0.78/bin/apache-tomcat-7.0.78.tar.gz|tar -C /opt -xzf - && \
    mv -v /opt/apache-tomcat-7.0.76 /opt/apache-tomcat && \
    rm -rvf /opt/apache-tomcat/webapps/* && \
    wget -O /opt/apache-tomcat/webapps/ROOT.war https://github.com/jgraph/draw.io/releases/download/v6.7.8/draw.war

WORKDIR /opt/apache-tomcat

ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
ENV PATH $JAVA_HOME/bin:$PATH
ENV CATALINA_HOME /opt/apache-tomcat

EXPOSE 8080

CMD ["/opt/apache-tomcat/bin/catalina.sh", "run"]

{'fraction_non_alphanumeric': 0.17746478873239438, 'fraction_numerical': 0.035211267605633804, 'mean_word_length': 2.925414364640884, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, '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': '2305493', 'n_tokens_mistral': 652, 'n_tokens_neox': 613, 'n_words': 101}