<commit_before>FROM ubuntu:xenial

RUN apt-get -y update 

# Install wine and related packages
RUN dpkg --add-architecture i386 
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates sudo software-properties-common

RUN add-apt-repository ppa:ubuntu-wine/ppa && apt-get update \
    && apt-get install -y wine1.8

COPY ./ /kolibri

SHELL ["/bin/bash", "-c"]

# Build kolibri windows installer.
RUN mkdir /installer/
RUN cd /kolibri/kolibri-installers/windows \
    && WHL_FILE=$(find ./ -name \*.whl) \
    && WHL_FILE=$(basename $WHL_FILE) \
    && WHL_FILE=${WHL_FILE:8} \
    && WHL_FILE_VERSION=${WHL_FILE:0:(${#WHL_FILEs}-21)} \
    && export KOLIBRI_BUILD_VERSION=$WHL_FILE_VERSION \
    && wine inno-compiler/ISCC.exe installer-source/KolibriSetupScript.iss

CMD cp /kolibri/kolibri-installers/windows/*.exe /installer/<commit_msg>found another reference to the installer dir<commit_after>FROM ubuntu:xenial

RUN apt-get -y update

# Install wine and related packages
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates sudo software-properties-common

RUN add-apt-repository ppa:ubuntu-wine/ppa && apt-get update \
    && apt-get install -y wine1.8

COPY ./ /kolibri

SHELL ["/bin/bash", "-c"]

# Build kolibri windows installer.
RUN mkdir /installer/
RUN cd /kolibri/kolibri-installer-windows/windows \
    && WHL_FILE=$(find ./ -name \*.whl) \
    && WHL_FILE=$(basename $WHL_FILE) \
    && WHL_FILE=${WHL_FILE:8} \
    && WHL_FILE_VERSION=${WHL_FILE:0:(${#WHL_FILEs}-21)} \
    && export KOLIBRI_BUILD_VERSION=$WHL_FILE_VERSION \
    && wine inno-compiler/ISCC.exe installer-source/KolibriSetupScript.iss

CMD cp /kolibri/kolibri-installer-windows/windows/*.exe /installer/

{'fraction_non_alphanumeric': 0.1414141414141414, 'fraction_numerical': 0.010101010101010102, 'mean_word_length': 3.7169312169312168, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2389429', 'n_tokens_mistral': 679, 'n_tokens_neox': 652, 'n_words': 137}