<commit_before>FROM phuihock/ubuntu:14.04.2_u150724.232741
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND=noninteractive JAVA_VER=jdk-8u60-linux-x64 JETTY_VER=jetty-distribution-9.2.10.v20150310
ENV JETTY_START_JAR=/opt/${JETTY_VER}/start.jar
ENV PATH=/opt/jdk1.8.0_60/bin:$PATH
EXPOSE 8080
VOLUME /opt/birt/reports

RUN echo 'Asia/Kuala_Lumpur' > /etc/timezone && dpkg-reconfigure tzdata

# Download Jetty ${JETTY_VER} from http://download.eclipse.org/jetty/stable-9/dist/ into var/ directory
ADD var/$JAVA_VER.tar.gz  /opt

# Download JDK8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
# into var/ directory
ADD var/$JETTY_VER.tar.gz /opt

COPY entrypoint.sh /opt/birt/entrypoint.sh
COPY jetty /opt/birt/jetty
COPY target/birt /opt/birt/jetty/webapps/birt
COPY reports /opt/birt/reports

RUN useradd -d /opt/birt -s /bin/bash codekaki
RUN chown -R codekaki:codekaki /opt/birt
USER codekaki
WORKDIR /opt/birt

ENTRYPOINT sh entrypoint.sh<commit_msg>General improvements, reduce image size. Use publicly available base image.<commit_after>FROM buildpack-deps:trusty
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND=noninteractive JAVA_VER=jdk-8u60-linux-x64 JETTY_VER=jetty-distribution-9.2.10.v20150310
ENV PATH=/opt/jdk1.8.0_60/bin:$PATH
ENV JETTY_START_JAR=/opt/${JETTY_VER}/start.jar
RUN echo 'UTC' > /etc/timezone && dpkg-reconfigure tzdata

# Download ${JAVA_VER}.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html into var/ directory
ADD var/${JAVA_VER}.tar.gz  /opt

# Download ${JETTY_VER}.tar.gz from http://download.eclipse.org/jetty/stable-9/dist/
ADD var/${JETTY_VER}.tar.gz /opt

WORKDIR /opt/birt
COPY entrypoint.sh entrypoint.sh
COPY jetty jetty
COPY target/birt jetty/webapps/birt
COPY reports reports

VOLUME ["/opt/birt/reports"]
EXPOSE 8080

ENTRYPOINT ["/opt/birt/entrypoint.sh"]
{'fraction_non_alphanumeric': 0.12976694915254236, 'fraction_numerical': 0.046610169491525424, 'mean_word_length': 4.903125, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7000130', 'n_tokens_mistral': 825, 'n_tokens_neox': 750, 'n_words': 139}