<commit_before>FROM ubuntu:18.04

# Updating packages' repo
RUN apt-get update

# Installing needed packages:
#   - GL & X11 as needed graphical dependencies
#   - CMake, GCC & Clang to build RaZ
#   - Doxygen & Dot to generate the documentation
#   - Wget to download the FBX SDK
RUN apt-get install -y \
    libglew-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev \
    cmake gcc clang \
    doxygen python-pydot python-pydot-ng \
    wget

# Installing the FBX SDK
RUN wget http://download.autodesk.com/us/fbx/2019/2019.0/fbx20190_fbxsdk_linux.tar.gz -O ./fbx_sdk.tar.gz
RUN tar xvf ./fbx_sdk.tar.gz
RUN chmod +x ./fbx20190_fbxsdk_linux
# The installation asks for software user agreement (say 'yes'), then afterwards if the README file should be opened (say 'n')
RUN printf 'yes\nn' | ./fbx20190_fbxsdk_linux /usr

# Adding /usr/bin to the PATH variable so that compilers are recognized easily
RUN export PATH=$PATH:/usr/bin

RUN mkdir /RaZ
WORKDIR /RaZ
<commit_msg>[Fix] Specified precise gcc/clang package versions; created g++ symlink<commit_after>FROM ubuntu:18.04

# Updating packages' repo
RUN apt-get update

# Installing needed packages:
#   - GL & X11 as needed graphical dependencies
#   - CMake, GCC & Clang to build RaZ
#   - Doxygen & Dot to generate the documentation
#   - Wget to download the FBX SDK
RUN apt-get install -y \
    libglew-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev \
    cmake gcc-8 clang-6.0 \
    doxygen python-pydot python-pydot-ng \
    wget

# Installing the FBX SDK
RUN wget http://download.autodesk.com/us/fbx/2019/2019.0/fbx20190_fbxsdk_linux.tar.gz -O ./fbx_sdk.tar.gz
RUN tar xvf ./fbx_sdk.tar.gz
RUN chmod +x ./fbx20190_fbxsdk_linux
# The installation asks for software user agreement (say 'yes'), then afterwards if the README file should be opened (say 'n')
RUN printf 'yes\nn' | ./fbx20190_fbxsdk_linux /usr

# Adding /usr/bin to the PATH variable so that compilers are recognized easily
RUN export PATH=$PATH:/usr/bin

# Creating symlinks for g++, as it is not named as such
RUN ln -s /usr/bin/g++-8 /usr/bin/g++

RUN mkdir /RaZ
WORKDIR /RaZ

{'fraction_non_alphanumeric': 0.09561940650023551, 'fraction_numerical': 0.03203014601978332, 'mean_word_length': 3.5095541401273884, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '553653', 'n_tokens_mistral': 813, 'n_tokens_neox': 737, 'n_words': 250}