<commit_before>% include base.dockerfile

RUN \
    apt-get install -qy --no-install-recommends \
        #
        # Testing decisionlib (see etc/taskcluster/mock.py)
        python3-coverage \
        #
        # Multiple C/C++ dependencies built from source
        g++ \
        make \
        cmake \
        #
        # Fontconfig
        gperf \
        #
        # ANGLE
        xorg-dev \
        #
        # mozjs (SpiderMonkey)
        autoconf2.13 \
        #
        # Bindgen (for SpiderMonkey bindings)
        clang \
        llvm \
        llvm-dev \
        #
        # GStreamer
        libpcre3-dev \
        #
        # OpenSSL
        libssl-dev \
        #
        # blurz
        libdbus-1-dev \
        #
        # sampling profiler
        libunwind-dev \
        #
        # x11 integration
        libxcb-render-util0-dev \
        libxcb-shape0-dev \
        libxcb-xfixes0-dev \
        #
    && \
    #
    # Install the version of rustup that is current when this Docker image is being built:
    # We want at least 1.21 (increment in this comment to force an image rebuild).
    curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none --profile=minimal -y && \
    #
    #
    curl -sSfL \
        https://github.com/mozilla/sccache/releases/download/0.2.12/sccache-0.2.12-x86_64-unknown-linux-musl.tar.gz \
        | tar -xz --strip-components=1 -C /usr/local/bin/ \
            sccache-0.2.12-x86_64-unknown-linux-musl/sccache<commit_msg>Update sccache on linux.<commit_after>% include base.dockerfile

RUN \
    apt-get install -qy --no-install-recommends \
        #
        # Testing decisionlib (see etc/taskcluster/mock.py)
        python3-coverage \
        #
        # Multiple C/C++ dependencies built from source
        g++ \
        make \
        cmake \
        #
        # Fontconfig
        gperf \
        #
        # ANGLE
        xorg-dev \
        #
        # mozjs (SpiderMonkey)
        autoconf2.13 \
        #
        # Bindgen (for SpiderMonkey bindings)
        clang \
        llvm \
        llvm-dev \
        #
        # GStreamer
        libpcre3-dev \
        #
        # OpenSSL
        libssl-dev \
        #
        # blurz
        libdbus-1-dev \
        #
        # sampling profiler
        libunwind-dev \
        #
        # x11 integration
        libxcb-render-util0-dev \
        libxcb-shape0-dev \
        libxcb-xfixes0-dev \
        #
    && \
    #
    # Install the version of rustup that is current when this Docker image is being built:
    # We want at least 1.21 (increment in this comment to force an image rebuild).
    curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && \
    #
    # There are no sccache binary releases that include this commit, so we install a particular
    # git commit instead.
    ~/.cargo/bin/cargo install sccache --git https://github.com/mozilla/sccache/ --rev e66c9c15142a7e583d6ab80bd614bdffb2ebcc47
{'fraction_non_alphanumeric': 0.09959211420802175, 'fraction_numerical': 0.02379333786539769, 'mean_word_length': 1.356285028022418, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2351653', 'n_tokens_mistral': 999, 'n_tokens_neox': 952, 'n_words': 210}