<commit_before># docker for s2p
# <NAME> <<EMAIL>>

FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
ARG DEBIAN_FRONTEND=noninteractive # https://goo.gl/aypXVx
RUN apt-get update && apt-get install -y \
    build-essential \
    geographiclib-tools \
    git \
    libfftw3-dev \
    libgdal-dev \
    libgeographic-dev \
    libgeotiff-dev \
    libtiff5-dev \
    python \
    python-numpy \
    python-pip \
    cmake \
    software-properties-common \
    python-software-properties
RUN pip install -U pip
RUN pip install utm bs4 lxml requests

# Install GDAL 2.x from ubuntugis-stable
RUN apt-get install dialog apt-utils -y
RUN add-apt-repository ppa:ubuntugis/ppa -y 
RUN apt-get update && apt-get install -y \
    gdal-bin \
    python-gdal

# Install s2p from MISS3D/s2p
RUN git clone https://github.com/MISS3D/s2p.git --recursive
RUN cd s2p && make all

WORKDIR /s2p<commit_msg>Update Dockerfile<commit_after># docker for s2p
# <NAME> <<EMAIL>>

FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
# https://goo.gl/aypXVx
ARG DEBIAN_FRONTEND=noninteractive 
RUN apt-get update && apt-get install -y \
    build-essential \
    geographiclib-tools \
    git \
    libfftw3-dev \
    libgdal-dev \
    libgeographic-dev \
    libgeotiff-dev \
    libtiff5-dev \
    python \
    python-numpy \
    python-pip \
    cmake \
    software-properties-common \
    python-software-properties \
    unzip
RUN pip install -U pip
RUN pip install utm bs4 lxml requests

# Install GDAL 2.x from ubuntugis-stable
RUN apt-get install dialog apt-utils -y
RUN add-apt-repository ppa:ubuntugis/ppa -y 
RUN apt-get update && apt-get install -y \
    gdal-bin \
    python-gdal

# Install s2p from MISS3D/s2p
RUN git clone https://github.com/MISS3D/s2p.git --recursive
RUN cd s2p && make all

WORKDIR /s2p
{'fraction_non_alphanumeric': 0.10464465584778959, 'fraction_numerical': 0.01790710688304421, 'mean_word_length': 2.6790123456790123, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4752614', 'n_tokens_mistral': 693, 'n_tokens_neox': 659, 'n_words': 171}