<commit_before>FROM ubuntu:latest
WORKDIR /tick

RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential cmake curl git swig patchelf unzip libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev 

ENV PATH="/root/.pyenv/bin:$PATH"

# Installing pyenv
RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash

# Installing googletest
RUN git clone https://github.com/google/googletest.git && \
	(cd googletest && mkdir -p build && cd build && cmake .. && make && make install) && \
	rm -rf googletest

# Installing necessary python versions
RUN pyenv install 3.4.6 && pyenv install 3.5.3 && pyenv install 3.6.1

COPY requirements.txt requirements.txt 

RUN eval "$(pyenv init -)" && \ 
	pyenv local 3.4.6 && pip install -r requirements.txt -U pip && \
	pyenv local 3.5.3 && pip install -r requirements.txt -U pip && \
	pyenv local 3.6.1 && pip install -r requirements.txt -U pip

LABEL maintainer "<EMAIL>"<commit_msg>Add tensorflow installation in docker file (to be compliant with HawkesCumulantMatching)<commit_after>FROM ubuntu:latest
WORKDIR /tick

RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential cmake curl git swig patchelf unzip libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev 

ENV PATH="/root/.pyenv/bin:$PATH"

# Installing pyenv
RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash

# Installing googletest
RUN git clone https://github.com/google/googletest.git && \
	(cd googletest && mkdir -p build && cd build && cmake .. && make && make install) && \
	rm -rf googletest

# Installing necessary python versions
RUN pyenv install 3.4.6 && pyenv install 3.5.3 && pyenv install 3.6.1

COPY requirements.txt requirements.txt 

RUN eval "$(pyenv init -)" && \
    pyenv local 3.4.6 && pip install -r requirements.txt -U pip && pip install tensorflow && \
    pyenv local 3.5.3 && pip install -r requirements.txt -U pip && pip install tensorflow && \
    pyenv local 3.6.1 && pip install -r requirements.txt -U pip && pip install tensorflow


LABEL maintainer "<EMAIL>"
{'fraction_non_alphanumeric': 0.12038664323374342, 'fraction_numerical': 0.020210896309314587, 'mean_word_length': 3.646938775510204, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '4210826', 'n_tokens_mistral': 794, 'n_tokens_neox': 754, 'n_words': 240}