<commit_before># docker build -t darktable/rawspeed .

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!! hub.docker.com will not auto-rebuild the image                        !!!
# !!! after making changes here, or if you just want to manually refresh    !!!
# !!! the image, you need to go to:                                         !!!
# https://hub.docker.com/r/darktable/rawspeed/~/settings/automated-builds/  !!!
# !!!                            and press the "Trigger" button.            !!!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

FROM debian:testing
MAINTAINER <NAME> <<EMAIL>>

# needed at least for python-based jsonschema :(
# see https://github.com/Julian/jsonschema/issues/299
# and https://github.com/docker-library/python/issues/13
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LC_MESSAGES C.UTF-8
ENV LANGUAGE C.UTF-8

ENV DEBIAN_FRONTEND noninteractive

# Paper over occasional network flakiness of some mirrors.
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80retry

# Do not install recommended packages
RUN echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/80recommends

# Do not install suggested packages
RUN echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/80suggests

# Assume yes
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/80forceyes

# Fix broken packages
RUN echo 'APT::Get::Fix-Missing "true";' > /etc/apt/apt.conf.d/80fixmissin

ENV GCC_VER=7
ENV LLVM_VER=4.0

# pls keep sorted :)
RUN rm -rf /var/lib/apt/lists/* && apt-get update && \
    apt-get install clang++-$LLVM_VER clang-tidy-$LLVM_VER cmake curl \
    default-jdk-headless default-jre-headless dirmngr doxygen g++-$GCC_VER git \
    gnupg googletest graphviz libjpeg-dev libpugixml-dev libxml2-utils make \
    ninja-build python3-sphinx python3-sphinx-rtd-theme unzip zlib1g-dev \
    && apt-get clean && rm -rf /var/lib/apt/lists/*

# sonarqube support.

ENV SONAR_SCANNER_CLI_VERSION=3.0.3.778-linux \
    SONARQUBE_HOME=/opt/sonarqube

RUN set -x \

    # pub   2048R/D26468DE 2015-05-25
    #       Key fingerprint = <KEY>
    # uid                  sonarsource_deployer (Sonarsource Deployer) <<EMAIL>>
    # sub   2048R/06855C1D 2015-05-25
    && gpg --keyserver hkp://keys.gnupg.net --recv-keys <KEY> \<commit_msg>Dockerfile: try gpg keyserver without specifying protocol?!<commit_after># docker build -t darktable/rawspeed .

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!! hub.docker.com will not auto-rebuild the image                        !!!
# !!! after making changes here, or if you just want to manually refresh    !!!
# !!! the image, you need to go to:                                         !!!
# https://hub.docker.com/r/darktable/rawspeed/~/settings/automated-builds/  !!!
# !!!                            and press the "Trigger" button.            !!!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

FROM debian:testing
MAINTAINER <NAME> <<EMAIL>>

# needed at least for python-based jsonschema :(
# see https://github.com/Julian/jsonschema/issues/299
# and https://github.com/docker-library/python/issues/13
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LC_MESSAGES C.UTF-8
ENV LANGUAGE C.UTF-8

ENV DEBIAN_FRONTEND noninteractive

# Paper over occasional network flakiness of some mirrors.
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80retry

# Do not install recommended packages
RUN echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/80recommends

# Do not install suggested packages
RUN echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/80suggests

# Assume yes
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/80forceyes

# Fix broken packages
RUN echo 'APT::Get::Fix-Missing "true";' > /etc/apt/apt.conf.d/80fixmissin

ENV GCC_VER=7
ENV LLVM_VER=4.0

# pls keep sorted :)
RUN rm -rf /var/lib/apt/lists/* && apt-get update && \
    apt-get install clang++-$LLVM_VER clang-tidy-$LLVM_VER cmake curl \
    default-jdk-headless default-jre-headless dirmngr doxygen g++-$GCC_VER git \
    gnupg googletest graphviz libjpeg-dev libpugixml-dev libxml2-utils make \
    ninja-build python3-sphinx python3-sphinx-rtd-theme unzip zlib1g-dev \
    && apt-get clean && rm -rf /var/lib/apt/lists/*

# sonarqube support.

ENV SONAR_SCANNER_CLI_VERSION=3.0.3.778-linux \
    SONARQUBE_HOME=/opt/sonarqube

RUN set -x \

    # pub   2048R/D26468DE 2015-05-25
    #       Key fingerprint = <KEY>
    # uid                  sonarsource_deployer (Sonarsource Deployer) <<EMAIL>>
    # sub   2048R/06855C1D 2015-05-25
    && gpg --keyserver keys.gnupg.net --recv-keys <KEY> \
{'fraction_non_alphanumeric': 0.18208828522920203, 'fraction_numerical': 0.02928692699490662, 'mean_word_length': 3.0947002606429193, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 27, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '5580386', 'n_tokens_mistral': 1782, 'n_tokens_neox': 1630, 'n_words': 376}