<commit_before>FROM debian:9 

RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates \
    libglib2.0-0 libxext6 libsm6 libxrender1

RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
    wget --quiet https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
    /bin/bash ~/miniconda.sh -b -p /opt/conda && \
    rm ~/miniconda.sh

RUN apt-get install -y curl grep sed dpkg && \
    TINI_VERSION=`curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && \
    curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && \
    dpkg -i tini.deb && \
    rm tini.deb && \
    apt-get clean

ENV PATH /root/.local/bin:/opt/conda/bin:$PATH

ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD [ "/bin/bash" ]

#
# apt packages
#
RUN apt-get update && \
    apt-get install -y vim nano && \
    apt-get clean

#
# conda packages
#
RUN conda config --add channels conda-forge
RUN conda update -y --all && \
    conda install -y openssh gxx_linux-64 gcc_linux-64 cmake make docker-pycreds git xo python-json-logger \
	                     python=3.6 glibmm glib=2.56 libxml2 libxmlpp libblas \
	                     libcblas liblapack pkg-config coincbc=2.9 boost-cpp hdf5 \
	                     sqlite pcre gettext bzip2 xz setuptools nose pytables \
	                     pandas jinja2 cython==0.26 websockets pprintpp &&\
    conda clean -y --all

#
# pip packages to overide conda
#
RUN pip install docker<commit_msg>update CC/CXX enviroment variable to match conda's<commit_after>FROM debian:9 

RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates \
    libglib2.0-0 libxext6 libsm6 libxrender1

RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
    wget --quiet https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
    /bin/bash ~/miniconda.sh -b -p /opt/conda && \
    rm ~/miniconda.sh

RUN apt-get install -y curl grep sed dpkg && \
    TINI_VERSION=`curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && \
    curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && \
    dpkg -i tini.deb && \
    rm tini.deb && \
    apt-get clean

ENV PATH /root/.local/bin:/opt/conda/bin:$PATH

ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD [ "/bin/bash" ]

#
# apt packages
#
RUN apt-get update && \
    apt-get install -y vim nano && \
    apt-get clean

#
# conda packages
#
RUN conda config --add channels conda-forge
RUN conda update -y --all && \
    conda install -y openssh gxx_linux-64 gcc_linux-64 cmake make docker-pycreds git xo python-json-logger \
	                     python=3.6 glibmm glib=2.56 libxml2 libxmlpp libblas \
	                     libcblas liblapack pkg-config coincbc=2.9 boost-cpp hdf5 \
	                     sqlite pcre gettext bzip2 xz setuptools nose pytables \
	                     pandas jinja2 cython==0.26 websockets pprintpp &&\
    conda clean -y --all

ENV CC /opt/conda/bin/x86_64-conda_cos6-linux-gnu-cc
ENV CXX /opt/conda/bin/x86_64-conda_cos6-linux-gnu-cpp


#
# pip packages to overide conda
#
RUN pip install docker
{'fraction_non_alphanumeric': 0.14470129090363254, 'fraction_numerical': 0.022215550885619936, 'mean_word_length': 2.42798353909465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '217276', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1239, 'n_words': 293}