<commit_before>FROM kilna/liquibase

ARG mysql_jdbc_version=5.1.44
ARG mysql_jdbc_download_url=https://dev.mysql.com/get/Downloads/Connector-J

ENV LIQUIBASE_PORT=${LIQUIBASE_PORT:-3306}\
    LIQUIBASE_CLASSPATH=${LIQUIBASE_CLASSPATH:-/opt/jdbc/mysql-jdbc.jar}\
    LIQUIBASE_DRIVER=${LIQUIBASE_DRIVER:-com.mysql.jdbc.Driver}\
    LIQUIBASE_URL=${LIQUIBASE_URL:-'jdbc:mysql://${HOST}:${PORT}/${DATABASE}'}

COPY test/ /opt/test/
RUN set -e -o pipefail;\
    cd /opt/jdbc;\
    tarfile=mysql-connector-java-${mysql_jdbc_version}.tar.gz;\
    curl -SOLs ${mysql_jdbc_download_url}/${tarfile};\
    tar -x -f ${tarfile};\
    jarfile=mysql-connector-java-${mysql_jdbc_version}-bin.jar;\
    mv mysql-connector-java-${mysql_jdbc_version}/${jarfile} ./;\
    rm -rf ${tarfile} mysql-connector-java-${mysql_jdbc_version};\
    ln -s ${jarfile} mysql-jdbc.jar;\
    set | grep -F LIQUIBASE_
<commit_msg>Initial development<commit_after>FROM kilna/liquibase

ARG mysql_jdbc_version=5.1.44
ARG mysql_jdbc_download_url=https://dev.mysql.com/get/Downloads/Connector-J

ENV LIQUIBASE_PORT=${LIQUIBASE_PORT:-3306}\
    LIQUIBASE_CLASSPATH=${LIQUIBASE_CLASSPATH:-/opt/jdbc/mysql-jdbc.jar}\
    LIQUIBASE_DRIVER=${LIQUIBASE_DRIVER:-com.mysql.jdbc.Driver}\
    LIQUIBASE_URL=${LIQUIBASE_URL:-'jdbc:mysql://${HOST}:${PORT}/${DATABASE}'}

RUN set -e -o pipefail;\
    chmod +x test/run_test.sh;\
    cd /opt/jdbc;\
    tarfile=mysql-connector-java-${mysql_jdbc_version}.tar.gz;\
    curl -SOLs ${mysql_jdbc_download_url}/${tarfile};\
    tar -x -f ${tarfile};\
    jarfile=mysql-connector-java-${mysql_jdbc_version}-bin.jar;\
    mv mysql-connector-java-${mysql_jdbc_version}/${jarfile} ./;\
    rm -rf ${tarfile} mysql-connector-java-${mysql_jdbc_version};\
    ln -s ${jarfile} mysql-jdbc.jar;\
    set | grep -F LIQUIBASE_
COPY test/ /opt/test/

{'fraction_non_alphanumeric': 0.173224043715847, 'fraction_numerical': 0.008743169398907104, 'mean_word_length': 4.172316384180791, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2032324', 'n_tokens_mistral': 740, 'n_tokens_neox': 697, 'n_words': 92}