<commit_before>FROM learninglayers/base
MAINTAINER <NAME> <<EMAIL>>

# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

RUN apt-get update -y \
  && apt-get install -y software-properties-common \
  && echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
  && add-apt-repository -y ppa:webupd8team/java \
  && apt-get update -y \
  && apt-get install -y oracle-java8-installer \
  && rm -rf /var/lib/apt/lists/* \
  && rm -rf /var/cache/oracle-jdk8-installer

# Install unzip and wget
RUN apt-get update -y && apt-get install -y \
  unzip \
  wget

# Install JCE for Java 8
RUN wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" \
  && unzip jce_policy-8.zip \
  && cp -r UnlimitedJCEPolicyJDK8/. $JAVA_HOME/jre/lib/security/ \
  && rm -r UnlimitedJCEPolicyJDK8 && rm jce_policy-8.zip

# Download the service
RUN wget -O EIS.zip https://www.dropbox.com/s/q50rn0271p7qv3l/EIS.zip?dl=1 \
  && unzip EIS.zip

# add content to data volumes
ADD etc EIS/etc

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

EXPOSE 8080<commit_msg>Remove Dropbox link and added Jenkins build.....<commit_after>FROM learninglayers/base
MAINTAINER <NAME> <<EMAIL>>

# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

RUN apt-get update -y \
  && apt-get install -y software-properties-common \
  && echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
  && add-apt-repository -y ppa:webupd8team/java \
  && apt-get update -y \
  && apt-get install -y oracle-java8-installer \
  && rm -rf /var/lib/apt/lists/* \
  && rm -rf /var/cache/oracle-jdk8-installer

# Install unzip and wget
RUN apt-get update -y && apt-get install -y \
  unzip \
  wget

# Install JCE for Java 8
RUN wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" \
  && unzip jce_policy-8.zip \
  && cp -r UnlimitedJCEPolicyJDK8/. $JAVA_HOME/jre/lib/security/ \
  && rm -r UnlimitedJCEPolicyJDK8 && rm jce_policy-8.zip

# Download the service
RUN wget -O EIS.zip http://layers.dbis.rwth-aachen.de/jenkins/job/Expert-Identification-Service/lastSuccessfulBuild/artifact/*zip*/archive.zip \
  && unzip EIS.zip
  
RUN mv archive EIS

# add content to data volumes
ADD etc EIS/etc

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

EXPOSE 8080
{'fraction_non_alphanumeric': 0.13658721150208097, 'fraction_numerical': 0.0170261066969353, 'mean_word_length': 3.3702479338842974, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3299484', 'n_tokens_mistral': 1024, 'n_tokens_neox': 985, 'n_words': 227}