<commit_before># MongoDB for MeteorJS applications
# Version: 3.0.4 (with updates blocked to that version)
# 
FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

# Install MongoDB 
# @see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
# @see http://www.manuel-schoebel.com/blog/meteorjs-and-mongodb-replica-set-for-oplog-tailing
# 
# NB: running all commands in one line to avoid spanwning multiple containers
# 
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \
  echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list && \
  apt-get update && \
  apt-get install -y pwgen  mongodb-org=3.0.4 mongodb-org-server=3.0.4 mongodb-org-shell=3.0.4 mongodb-org-mongos=3.0.4 mongodb-org-tools=3.0.4 && \
  echo "mongodb-org hold" | dpkg --set-selections  && \
  echo "mongodb-org-server hold" | dpkg --set-selections && \
  echo "mongodb-org-shell hold" | dpkg --set-selections  && \
  echo "mongodb-org-mongos hold" | dpkg --set-selections && \
  echo "mongodb-org-tools hold" | dpkg --set-selections


# where to store the data (host)
# 
VOLUME /data/db

# Some configuration parameters
# 
ENV AUTH=true REPLICA_SET_NAME=meteormongo DATABASE_ENGINE=wiredTiger JOURNALING=true

# some init & config scripts
# 
ADD mongo.sh /mongo.sh
ADD mongoFirstRun.sh /mongoFirstRun.sh


# expose the port host:container
# 
EXPOSE 27017 27017


# Start the dtabase
# 
CMD ["/mongo.sh"]
<commit_msg>Code cleanup.<commit_after># MongoDB for MeteorJS applications
# Version: 3.0.4 (with updates blocked to that version)
# 
FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

# Install MongoDB 
# @see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
# @see http://www.manuel-schoebel.com/blog/meteorjs-and-mongodb-replica-set-for-oplog-tailing
# 
# NB: running all commands in one line to avoid spanwning multiple containers
# 
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \
  echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list && \
  apt-get update && \
  apt-get install -y pwgen mongodb-org=3.0.4 mongodb-org-server=3.0.4 mongodb-org-shell=3.0.4 mongodb-org-mongos=3.0.4 mongodb-org-tools=3.0.4 && \
  echo "mongodb-org hold" | dpkg --set-selections && \
  echo "mongodb-org-server hold" | dpkg --set-selections && \
  echo "mongodb-org-shell hold" | dpkg --set-selections  && \
  echo "mongodb-org-mongos hold" | dpkg --set-selections && \
  echo "mongodb-org-tools hold" | dpkg --set-selections


# where to store the data (host)
# 
VOLUME /data/db

# Some configuration parameters
# 
ENV AUTH=true REPLICA_SET_NAME=meteormongo DATABASE_ENGINE=wiredTiger JOURNALING=true

# some init & config scripts
# 
ADD mongo.sh /mongo.sh
ADD mongoFirstRun.sh /mongoFirstRun.sh


# expose the port host:container
# 
EXPOSE 27017 27017


# Start the dtabase
# 
CMD ["/mongo.sh"]

{'fraction_non_alphanumeric': 0.14422442244224423, 'fraction_numerical': 0.027722772277227723, 'mean_word_length': 3.641653905053599, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1711826', 'n_tokens_mistral': 1264, 'n_tokens_neox': 1153, 'n_words': 253}