<commit_before>FROM       ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

VOLUME ["/data"]
ENTRYPOINT ["/bin/cassandra-docker"]

COPY install-ubuntu-packages.sh /
RUN /bin/sh /install-ubuntu-packages.sh

# TEMPORARY: while the mirrors are messed up and I'm doing
# dev passes, this will expect a tarball in the root of the repo
# wget http://www.apache.dist/cassandra/2.0.11/apache-cassandra-2.0.11-bin.tar.gz
COPY apache-cassandra-2.0.11-bin.tar.gz /

COPY install-cassandra-tarball.sh /
RUN /bin/sh /install-cassandra-tarball.sh

# create a cassandra user:group & chown
# Note: this UID/GID is hard-coded in main.go
RUN groupadd -g 1337 cassandra
RUN useradd -u 1337 -g cassandra -s /bin/sh -d /data cassandra
RUN chown -R cassandra:cassandra /data

COPY conf /src
COPY cassandra-docker /bin/

# SSH, Storage Port, JMX, Thrift, CQL Native, OpsCenter Agent
# Left out: SSL
EXPOSE 22 7000 7199 9042 9160 61621

<commit_msg>copy conf to the right location<commit_after>FROM       ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

VOLUME ["/data"]
ENTRYPOINT ["/bin/cassandra-docker"]

COPY install-ubuntu-packages.sh /
RUN /bin/sh /install-ubuntu-packages.sh

# TEMPORARY: while the mirrors are messed up and I'm doing
# dev passes, this will expect a tarball in the root of the repo
# wget http://www.apache.dist/cassandra/2.0.11/apache-cassandra-2.0.11-bin.tar.gz
COPY apache-cassandra-2.0.11-bin.tar.gz /

COPY install-cassandra-tarball.sh /
RUN /bin/sh /install-cassandra-tarball.sh

# create a cassandra user:group & chown
# Note: this UID/GID is hard-coded in main.go
RUN groupadd -g 1337 cassandra
RUN useradd -u 1337 -g cassandra -s /bin/sh -d /data cassandra
RUN chown -R cassandra:cassandra /data

# the source configuration (templates) need to be in /src/conf
# so the entry point can find them
COPY conf /src/conf

# install the entrypoint
# building it is just: go build
COPY cassandra-docker /bin/

# SSH, Storage Port, JMX, Thrift, CQL Native, OpsCenter Agent
# Left out: SSL
EXPOSE 22 7000 7199 9042 9160 61621


{'fraction_non_alphanumeric': 0.1092896174863388, 'fraction_numerical': 0.04669647292598112, 'mean_word_length': 3.6946386946386944, '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': '39754', 'n_tokens_mistral': 831, 'n_tokens_neox': 717, 'n_words': 238}