<commit_before># Use latest jboss/base-jdk:8 image as the base
FROM jboss/base-jdk:8

# Set the INFINISPAN_SERVER_HOME env variable
ENV INFINISPAN_SERVER_HOME /opt/jboss/infinispan-server

# Set the INFINISPAN_VERSION env variable
ENV INFINISPAN_VERSION 8.2.0.Final

ENV DOMAIN_USER admin 
ENV DOMAIN_PASS <PASSWORD>

# Download and unzip Infinispan server
RUN cd $HOME && curl "https://repo1.maven.org/maven2/org/infinispan/server/infinispan-server-build/$INFINISPAN_VERSION/infinispan-server-build-$INFINISPAN_VERSION.zip" | bsdtar -xf - && mv $HOME/infinispan-server-$INFINISPAN_VERSION $HOME/infinispan-server && chmod +x /opt/jboss/infinispan-server/bin/*.sh

COPY start.sh /opt/jboss/infinispan-server/bin/

USER root

RUN yum -y install telnet iproute && yum clean all

RUN sed -i '/other-server-group/,+6d' /opt/jboss/infinispan-server/domain/configuration/host.xml
RUN sed -i '/other-server-group/,+6d' /opt/jboss/infinispan-server/domain/configuration/host-slave.xml
RUN sed -i '/server-two/,+6d' /opt/jboss/infinispan-server/domain/configuration/host.xml

# Expose Infinispan server  ports 
EXPOSE 57600 7600 8080 8181 9990 11211 11222 

CMD ["/opt/jboss/infinispan-server/bin/start.sh"]
<commit_msg>Updated to Infinispan 8.2.1.Final<commit_after># Use latest jboss/base-jdk:8 image as the base
FROM jboss/base-jdk:8

# Set the INFINISPAN_SERVER_HOME env variable
ENV INFINISPAN_SERVER_HOME /opt/jboss/infinispan-server

# Set the INFINISPAN_VERSION env variable
ENV INFINISPAN_VERSION 8.2.1.Final

ENV DOMAIN_USER admin 
ENV DOMAIN_PASS <PASSWORD>

# Download and unzip Infinispan server
RUN cd $HOME && curl "https://repo1.maven.org/maven2/org/infinispan/server/infinispan-server-build/$INFINISPAN_VERSION/infinispan-server-build-$INFINISPAN_VERSION.zip" | bsdtar -xf - && mv $HOME/infinispan-server-$INFINISPAN_VERSION $HOME/infinispan-server && chmod +x /opt/jboss/infinispan-server/bin/*.sh

COPY start.sh /opt/jboss/infinispan-server/bin/

USER root

RUN yum -y install telnet iproute && yum clean all

RUN sed -i '/other-server-group/,+6d' /opt/jboss/infinispan-server/domain/configuration/host.xml
RUN sed -i '/other-server-group/,+6d' /opt/jboss/infinispan-server/domain/configuration/host-slave.xml
RUN sed -i '/server-two/,+6d' /opt/jboss/infinispan-server/domain/configuration/host.xml

# Expose Infinispan server  ports 
EXPOSE 57600 7600 8080 8181 9990 11211 11222 

CMD ["/opt/jboss/infinispan-server/bin/start.sh"]

{'fraction_non_alphanumeric': 0.11916461916461916, 'fraction_numerical': 0.03480753480753481, 'mean_word_length': 4.64203233256351, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3648123', 'n_tokens_mistral': 1016, 'n_tokens_neox': 904, 'n_words': 189}