<commit_before># docker build -t kalabox/solr:mytag .

FROM kalabox/debian:stable

RUN \
  apt-get -y update && \
  apt-get -y install solr-tomcat && \
  apt-get -y clean && \
  apt-get -y autoclean && \
  apt-get -y autoremove && \
  rm -rf /var/lib/apt/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*

COPY ./start.sh /start.sh
RUN chmod 755 /start.sh

# Allow us to edit the config on the outsite
RUN rm /etc/tomcat6/server.xml
RUN ln -s /src/config/tomcat/server.xml /etc/tomcat6/server.xml

EXPOSE 449
CMD ["/bin/bash", "/start.sh"]<commit_msg>#232: Small hack for path love<commit_after># docker build -t kalabox/solr:mytag .

FROM kalabox/debian:stable

RUN \
  apt-get -y update && \
  apt-get -y install solr-tomcat && \
  apt-get -y clean && \
  apt-get -y autoclean && \
  apt-get -y autoremove && \
  rm -rf /var/lib/apt/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*

COPY ./start.sh /start.sh
RUN chmod 755 /start.sh

# Allow us to edit the config on the outsite
RUN rm /etc/tomcat6/server.xml
RUN ln -s /src/config/tomcat/server.xml /etc/tomcat6/server.xml
RUN ln -s /src/config/tomcat/root.xml /etc/tomcat6/Catalina/localhost/root.xml
# Hacky way to set a special path
RUN mv /etc/tomcat6/Catalina/localhost/solr.xml /etc/tomcat6/Catalina/localhost/sites#self#environments#kalabox#index.xml

EXPOSE 449
CMD ["/bin/bash", "/start.sh"]
{'fraction_non_alphanumeric': 0.16454802259887005, 'fraction_numerical': 0.015536723163841809, 'mean_word_length': 2.7586206896551726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '947586', 'n_tokens_mistral': 591, 'n_tokens_neox': 564, 'n_words': 154}