<commit_before>FROM ubuntu:trusty

# Update the APT cache
RUN apt-get   update

# Install and setup project dependencies
RUN apt-get install -y curl git wget unzip

# prepare for Java download
RUN apt-get install -y software-properties-common
RUN apt-get -y install openjdk-7-jre-headless
RUN apt-get install -y mongodb-clients
ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64

# fix wget
RUN export HTTP_CLIENT="wget --no-check-certificate -O"

# grab leiningen
RUN wget https://raw.github.com/technomancy/leiningen/stable/bin/lein -O /usr/local/bin/lein
RUN chmod +x /usr/local/bin/lein
ENV LEIN_ROOT yes
RUN lein

# grab datomic
RUN wget https://my.datomic.com/downloads/free/0.9.4899 -O /opt/datomic.zip
RUN unzip /opt/datomic.zip -d /opt
RUN mv /opt/datomic-free-0.9.4899 /opt/datomic

# add scripts
ADD ./opt /opt

# grab project
RUN git clone https://github.com/kordano/goldrausch.git /opt/goldrausch

# define port
EXPOSE 8091

CMD ["/opt/start-it"]<commit_msg>expose datomic port<commit_after>FROM ubuntu:trusty

# Update the APT cache
RUN apt-get   update

# Install and setup project dependencies
RUN apt-get install -y curl git wget unzip

# prepare for Java download
RUN apt-get install -y software-properties-common
RUN apt-get -y install openjdk-7-jre-headless
RUN apt-get install -y mongodb-clients
ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64

# fix wget
RUN export HTTP_CLIENT="wget --no-check-certificate -O"

# grab leiningen
RUN wget https://raw.github.com/technomancy/leiningen/stable/bin/lein -O /usr/local/bin/lein
RUN chmod +x /usr/local/bin/lein
ENV LEIN_ROOT yes
RUN lein

# grab datomic
RUN wget https://my.datomic.com/downloads/free/0.9.4899 -O /opt/datomic.zip
RUN unzip /opt/datomic.zip -d /opt
RUN mv /opt/datomic-free-0.9.4899 /opt/datomic

# add scripts
ADD ./opt /opt

# grab project
RUN git clone https://github.com/kordano/goldrausch.git /opt/goldrausch

# define port
EXPOSE [8091 4334]

CMD ["/opt/start-it"]
{'fraction_non_alphanumeric': 0.11287839917906618, 'fraction_numerical': 0.022575679835813236, 'mean_word_length': 3.6875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '3451566', 'n_tokens_mistral': 757, 'n_tokens_neox': 728, 'n_words': 204}