<commit_before>FROM bbvainnotech/ubuntu-base-os:latest
MAINTAINER BBVA Innovation <<EMAIL>>

ENV OPENSTACK_VERSION=mitaka \
    PBR=9.0.1

# Install requriments and the main packages

RUN    curl -fSL https://github.com/openstack/keystone/archive/${PBR}.zip -o keystone-${PBR}.zip \
    && unzip keystone-${PBR}.zip \
    && cd keystone-${PBR} \
    && pip install -r requirements.txt \
    && PBR_VERSION=${PBR}  pip install . \
    && pip install uwsgi \
    && cp -r etc /etc/keystone \
    && mv /etc/keystone/keystone.conf.sample /etc/keystone/keystone.conf \
    && pip install python-openstackclient \
    && cd - \
    && rm -rf keystone-${PBR}*

ADD     data /

RUN     chown root:root /bootstrap/*.sh && chmod a+x /bootstrap/*.sh

ENTRYPOINT  ["/bootstrap/bootstrap.sh"]
EXPOSE      5000 35357
<commit_msg>add openstack client version to dockerfile<commit_after>FROM bbvainnotech/ubuntu-base-os:latest
MAINTAINER BBVA Innovation <<EMAIL>>

ENV OPENSTACK_VERSION=mitaka \
    PBR=9.0.1 

# Install requriments and the main packages

RUN    curl -fSL https://github.com/openstack/keystone/archive/${PBR}.zip -o keystone-${PBR}.zip \
    && unzip keystone-${PBR}.zip \
    && cd keystone-${PBR} \
    && pip install -r requirements.txt \
    && PBR_VERSION=${PBR}  pip install . \
    && pip install uwsgi \
    && cp -r etc /etc/keystone \
    && mv /etc/keystone/keystone.conf.sample /etc/keystone/keystone.conf \
    && pip install git+https://github.com/openstack/python-openstackclient.git@stable/${OPENSTACK_VERSION} \
    && cd - \
    && rm -rf keystone-${PBR}*

ADD     data /

RUN     chown root:root /bootstrap/*.sh && chmod a+x /bootstrap/*.sh

ENTRYPOINT  ["/bootstrap/bootstrap.sh"]
EXPOSE      5000 35357

{'fraction_non_alphanumeric': 0.14881297046902142, 'fraction_numerical': 0.013896931094383324, 'mean_word_length': 2.857142857142857, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, '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': '2598439', 'n_tokens_mistral': 656, 'n_tokens_neox': 612, 'n_words': 131}