<commit_before>FROM centos:centos7
MAINTAINER <NAME> <<EMAIL>>

# Set up default settings
ENV DOCKER_REGISTRY_CONFIG /openshift-docker-registry-extensions/config_openshift.yml
ENV SETTINGS_FLAVOR dev

EXPOSE 5000

CMD exec docker-registry

ADD . /openshift-docker-registry-extensions

# Update installed packages and install dependencies
RUN yum update -y && \
    yum install -y epel-release && \
    yum install -y python-pip \
                   python-devel \
                   python-backports-lzma \
                   python-boto \
                   python-redis \
                   python-blinker \
                   python-flask \
                   c-ares \
                   libev \
                   python-greenlet \
                   unzip \
                   gcc && \
    curl -L -O https://github.com/openshift/docker-registry/archive/master.zip && \
    unzip master.zip && \
    rm -f master.zip && \
    mv /docker-registry-master /docker-registry && \
    cp /docker-registry/config/boto.cfg /etc/boto.cfg && \
    pip install /docker-registry/depends/docker-registry-core && \<commit_msg>CentOS backport lzma is not compatible with Docker registry<commit_after>FROM centos:centos7
MAINTAINER <NAME> <<EMAIL>>

# Set up default settings
ENV DOCKER_REGISTRY_CONFIG /openshift-docker-registry-extensions/config_openshift.yml
ENV SETTINGS_FLAVOR dev

EXPOSE 5000

CMD exec docker-registry

ADD . /openshift-docker-registry-extensions

# Update installed packages and install dependencies
RUN yum update -y && \
    yum install -y epel-release && \
    yum install -y python-pip \
                   python-devel \
                   python-boto \
                   python-redis \
                   python-blinker \
                   python-flask \
                   c-ares \
                   libev \
                   python-greenlet \
                   unzip \
                   xz-devel \
                   gcc && \
    curl -L -O https://github.com/openshift/docker-registry/archive/master.zip && \
    unzip master.zip && \
    rm -f master.zip && \
    mv /docker-registry-master /docker-registry && \
    cp /docker-registry/config/boto.cfg /etc/boto.cfg && \
    pip install /docker-registry/depends/docker-registry-core && \
{'fraction_non_alphanumeric': 0.09660344067048963, 'fraction_numerical': 0.004411116012351125, 'mean_word_length': 1.6433566433566433, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6359144', 'n_tokens_mistral': 709, 'n_tokens_neox': 632, 'n_words': 146}