<commit_before>FROM oscm-nginx

ENV SOURCE=LOCAL BRANDING_DIR=/brandings GS_SERVICE_ACCOUNT_KEY_FILE=/key/keyfile.json GS_BUCKET=mybucket

COPY start.sh /opt/start.sh
COPY resources/brandings.conf /etc/nginx/vhosts.d/

# Attention: google-cloud-sdk broken; python-Jinja2 not available for SLE_12_SP1
# RUN zypper addrepo http://download.opensuse.org/repositories/Cloud:Tools/SLE_12_SP1/Cloud:Tools.repo && \
#     zypper --gpg-auto-import-keys refresh && \
#     zypper install -y tar google-cloud-sdk && \
#     zypper clean && \
#     chmod +x /opt/start.sh && \
#     SUSEConnect -d

RUN zypper install -y tar google-cloud-sdk && \
    zypper clean && \
    chmod +x /opt/start.sh && \
    SUSEConnect -d

EXPOSE 80 443

CMD ["/opt/start.sh"]
<commit_msg>branding: set missing/misconfigured proxy env variables<commit_after>FROM oscm-nginx

ENV SOURCE=LOCAL BRANDING_DIR=/brandings GS_SERVICE_ACCOUNT_KEY_FILE=/key/keyfile.json GS_BUCKET=mybucket

COPY start.sh /opt/start.sh
COPY resources/brandings.conf /etc/nginx/vhosts.d/

# Attention: google-cloud-sdk broken; python-Jinja2 not available for SLE_12_SP1
# RUN zypper addrepo http://download.opensuse.org/repositories/Cloud:Tools/SLE_12_SP1/Cloud:Tools.repo && \
#     zypper --gpg-auto-import-keys refresh && \
#     zypper install -y tar google-cloud-sdk && \
#     zypper clean && \
#     chmod +x /opt/start.sh && \
#     SUSEConnect -d

RUN export http_proxy=$HTTP_PROXY && \
    export https_proxy=$HTTPS_PROXY && \
    zypper install -y tar google-cloud-sdk && \
    zypper clean && \
    chmod +x /opt/start.sh && \
    SUSEConnect -d

EXPOSE 80 443

CMD ["/opt/start.sh"]

{'fraction_non_alphanumeric': 0.1282051282051282, 'fraction_numerical': 0.014652014652014652, 'mean_word_length': 3.3245382585751977, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '323229', 'n_tokens_mistral': 640, 'n_tokens_neox': 599, 'n_words': 125}