<commit_before>###########################
# KOHA DEBIAN BUILDER IMAGE
#
# this docker image takes a given koha release,
# applys patches, runs tests and builds debian packages
###########################

FROM debian:wheezy

MAINTAINER Oslo Public Library "<EMAIL>"

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical
ENV DEBCONF_NOWARNINGS yes
ENV REFRESHED_AT 2015-06-26

RUN apt-get update && \
    apt-get install --no-install-recommends -q -y vim.tiny telnet screen htop curl git \
            devscripts equivs && \
    apt-get clean

#######################
# KOHA SOURCES AND DEPS
#######################

# Install Koha deps
RUN echo "deb http://debian.koha-community.org/koha stable main" > /etc/apt/sources.list.d/koha.list
RUN curl -L http://debian.koha-community.org/koha/gpg.asc | apt-key add -
RUN apt-get update && \
    apt-get install -y koha-deps koha-perldeps make build-essential && \
    apt-get clean

RUN apt-get install -y libdbix-connector-perl libtest-perl-critic-perl && apt-get clean

ENV KOHA_VERSION 3.20.01

# Download Koha from tarball
RUN mkdir -p /koha && cd /koha && \
  curl -O http://download.koha-community.org/koha-${KOHA_VERSION}.tar.gz && \
  tar -C /koha --strip-components=1 -xzf koha-${KOHA_VERSION}.tar.gz && \
  rm -rf koha-${KOHA_VERSION}.tar.gz


##########<commit_msg>Bump Koha to version 3.20.03 3.20.02 highlights:   - sql injection fixes   - encoding issues in staff client search   - Remove unconditional warn from Koha::NorwegianPatronDB 3.20.03 highlights:   - Error in GetMarcBiblio can cause severe data loss   - SIP2 terminal authentication via telnet transport broken   - Terribly slow checkout caused by DateTime->new in far future   - Warns from returns.pl during checkin<commit_after>###########################
# KOHA DEBIAN BUILDER IMAGE
#
# this docker image takes a given koha release,
# applys patches, runs tests and builds debian packages
###########################

FROM debian:wheezy

MAINTAINER Oslo Public Library "<EMAIL>"

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical
ENV DEBCONF_NOWARNINGS yes
ENV REFRESHED_AT 2015-06-26

RUN apt-get update && \
    apt-get install --no-install-recommends -q -y vim.tiny telnet screen htop curl git \
            devscripts equivs && \
    apt-get clean

#######################
# KOHA SOURCES AND DEPS
#######################

# Install Koha deps
RUN echo "deb http://debian.koha-community.org/koha stable main" > /etc/apt/sources.list.d/koha.list
RUN curl -L http://debian.koha-community.org/koha/gpg.asc | apt-key add -
RUN apt-get update && \
    apt-get install -y koha-deps koha-perldeps make build-essential && \
    apt-get clean

RUN apt-get install -y libdbix-connector-perl libtest-perl-critic-perl && apt-get clean

ENV KOHA_VERSION 3.20.03

# Download Koha from tarball
RUN mkdir -p /koha && cd /koha && \
  curl -O http://download.koha-community.org/koha-${KOHA_VERSION}.tar.gz && \
  tar -C /koha --strip-components=1 -xzf koha-${KOHA_VERSION}.tar.gz && \
  rm -rf koha-${KOHA_VERSION}.tar.gz


##########
{'fraction_non_alphanumeric': 0.1689497716894977, 'fraction_numerical': 0.014350945857795172, 'mean_word_length': 3.661094224924012, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '776684', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1020, 'n_words': 297}