<commit_before>FROM oscm-sles-based

RUN export http_proxy=$HTTP_PROXY && \
    export https_proxy=$HTTPS_PROXY && \
    zypper -n in gettext-runtime postgresql94 java-1_8_0-openjdk java-1_8_0-openjdk-devel && \
    zypper clean && \
    SUSEConnect --cleanup && \
    if [ -f /etc/SUSEConnect ]; then rm -f /etc/SUSEConnect; fi && \
    if [ -d /etc/zypp/services.d ]; then rm -f /etc/zypp/services.d/*; fi && \
    if [ -d /etc/zypp/credentials.d]; then rm -f /etc/zypp/credentials.d/*; fi && \
    wget http://download.java.net/glassfish/4.1.2/release/glassfish-4.1.2.zip -O /tmp/glassfish.zip && \
	wget https://www.bouncycastle.org/download/bcprov-jdk15on-157.jar -O /usr/lib64/jvm/java-1.8.0-openjdk/jre/lib/ext/bcprov.jar && \
	echo "security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider" >> /usr/lib64/jvm/java-1.8.0-openjdk/jre/lib/security/java.security && \
    unzip /tmp/glassfish.zip -d /opt/ && \
	rm -rf /opt/glassfish4/glassfish/domains/domain1 && \
    rm /tmp/glassfish.zip

COPY postgresql-9.4-1206-jdbc42.jar /opt/glassfish4/mq/lib/ext/
COPY postgresql-9.4-1206-jdbc42.jar commons-codec-1.7.jar lucene-analyzers-common-5.3.1.jar lucene-core-5.3.1.jar /opt/glassfish4/glassfish/lib/
COPY jboss-logging.jar org.eclipse.persistence.antlr.jar org.eclipse.persistence.asm.jar org.eclipse.persistence.core.jar /opt/glassfish4/glassfish/modules/
COPY org.eclipse.persistence.dbws.jar org.eclipse.persistence.jpa.jar org.eclipse.persistence.jpa.jpql.jar /opt/glassfish4/glassfish/modules/
COPY org.eclipse.persistence.jpa.modelgen.processor.jar org.eclipse.persistence.moxy.jar org.eclipse.persistence.oracle.jar /opt/glassfish4/glassfish/modules/
COPY commons-logging-1.1.3.jar dol.jar /opt/glassfish4/glassfish/modules/
COPY postgresql-9.4-1206-jdbc42.jar log4j-1.2.16.jar commons-validator-1.4.0.jar commons-logging-1.1.3.jar jakarta-oro-2.0.8.jar /opt/lib/<commit_msg>oscm-gf: add vim to get xxd tool<commit_after>FROM oscm-sles-based

RUN export http_proxy=$HTTP_PROXY && \
    export https_proxy=$HTTPS_PROXY && \
    zypper -n in gettext-runtime vim postgresql94 java-1_8_0-openjdk java-1_8_0-openjdk-devel && \
    zypper clean && \
    SUSEConnect --cleanup && \
    if [ -f /etc/SUSEConnect ]; then rm -f /etc/SUSEConnect; fi && \
    if [ -d /etc/zypp/services.d ]; then rm -f /etc/zypp/services.d/*; fi && \
    if [ -d /etc/zypp/credentials.d]; then rm -f /etc/zypp/credentials.d/*; fi && \
    wget http://download.java.net/glassfish/4.1.2/release/glassfish-4.1.2.zip -O /tmp/glassfish.zip && \
	wget https://www.bouncycastle.org/download/bcprov-jdk15on-157.jar -O /usr/lib64/jvm/java-1.8.0-openjdk/jre/lib/ext/bcprov.jar && \
	echo "security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider" >> /usr/lib64/jvm/java-1.8.0-openjdk/jre/lib/security/java.security && \
    unzip /tmp/glassfish.zip -d /opt/ && \
	rm -rf /opt/glassfish4/glassfish/domains/domain1 && \
    rm /tmp/glassfish.zip

COPY postgresql-9.4-1206-jdbc42.jar /opt/glassfish4/mq/lib/ext/
COPY postgresql-9.4-1206-jdbc42.jar commons-codec-1.7.jar lucene-analyzers-common-5.3.1.jar lucene-core-5.3.1.jar /opt/glassfish4/glassfish/lib/
COPY jboss-logging.jar org.eclipse.persistence.antlr.jar org.eclipse.persistence.asm.jar org.eclipse.persistence.core.jar /opt/glassfish4/glassfish/modules/
COPY org.eclipse.persistence.dbws.jar org.eclipse.persistence.jpa.jar org.eclipse.persistence.jpa.jpql.jar /opt/glassfish4/glassfish/modules/
COPY org.eclipse.persistence.jpa.modelgen.processor.jar org.eclipse.persistence.moxy.jar org.eclipse.persistence.oracle.jar /opt/glassfish4/glassfish/modules/
COPY commons-logging-1.1.3.jar dol.jar /opt/glassfish4/glassfish/modules/
COPY postgresql-9.4-1206-jdbc42.jar log4j-1.2.16.jar commons-validator-1.4.0.jar commons-logging-1.1.3.jar jakarta-oro-2.0.8.jar /opt/lib/
{'fraction_non_alphanumeric': 0.16296683207103682, 'fraction_numerical': 0.04596500391747192, 'mean_word_length': 3.397244546498278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1024587', 'n_tokens_mistral': 1598, 'n_tokens_neox': 1556, 'n_words': 202}