<commit_before>FROM ubuntu:wily

MAINTAINER <NAME> <<EMAIL>>

ARG maven_repo=http://central.maven.org/maven2
ARG npm_repo=https://registry.npmjs.org/

RUN  echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu wily main" | tee /etc/apt/sources.list.d/webupd8team-java.list && \
  echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu wily main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && \
  apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 && \
  apt-get update

# system packages.
RUN apt-get install -y software-properties-common && \
  echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
  apt-get update && \
  apt-get install -y oracle-java8-installer && \
  apt-get install -y nodejs && \
  ln -s /usr/bin/nodejs /usr/bin/node && \
  apt-get install -y npm

ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

# swagger doclet
RUN mkdir /swagger-doclet
RUN wget --no-check-certificate ${maven_repo}/com/carma/swagger-doclet/1.1.1/swagger-doclet-1.1.1.jar \
-O /swagger-doclet/swagger-doclet-1.1.1.jar

# swagger-tools
RUN echo "registry=${npm_repo}" | tee /root/.npmrc
RUN npm --strict-ssl=false install -g swagger-tools

VOLUME /sources
VOLUME /dependencies
VOLUME /output<commit_msg>Remove ARG (not yet supported by docker hub)<commit_after>FROM ubuntu:wily

MAINTAINER <NAME> <<EMAIL>>

ENV maven_repo=http://central.maven.org/maven2
ENV npm_repo=https://registry.npmjs.org/

RUN  echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu wily main" | tee /etc/apt/sources.list.d/webupd8team-java.list && \
  echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu wily main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && \
  apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 && \
  apt-get update

# system packages.
RUN apt-get install -y software-properties-common && \
  echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
  apt-get update && \
  apt-get install -y oracle-java8-installer && \
  apt-get install -y nodejs && \
  ln -s /usr/bin/nodejs /usr/bin/node && \
  apt-get install -y npm

ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

# swagger doclet
RUN mkdir /swagger-doclet
RUN wget --no-check-certificate ${maven_repo}/com/carma/swagger-doclet/1.1.1/swagger-doclet-1.1.1.jar \
-O /swagger-doclet/swagger-doclet-1.1.1.jar

# swagger-tools
RUN echo "registry=${npm_repo}" | tee /root/.npmrc
RUN npm --strict-ssl=false install -g swagger-tools

VOLUME /sources
VOLUME /dependencies
VOLUME /output
{'fraction_non_alphanumeric': 0.15078453884424034, 'fraction_numerical': 0.01990049751243781, 'mean_word_length': 3.491408934707904, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '1481938', 'n_tokens_mistral': 1072, 'n_tokens_neox': 983, 'n_words': 198}