<commit_before>FROM ubuntu:latest
MAINTAINER <NAME> <<EMAIL>>
# https://goo.gl/aypXVx
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
    build-essential \
    curl \
    cmake \
    gdal-bin \
    geographiclib-tools \
    libfftw3-dev \
    libgdal-dev \
    libgeographic-dev \
    libgeotiff-dev \
    libtiff5-dev \
    python3 \
    python3-numpy

# Install pip
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py

# Copy files needed to install s2p
WORKDIR /root
COPY LICENSE.txt MANIFEST.in README.md setup.py makefile s2p/
WORKDIR /root/s2p
COPY 3rdparty/ 3rdparty/
COPY c/ c/
COPY s2p/ s2p/
COPY bin/ bin/
COPY lib/ lib/

# Install s2p
RUN pip install -e .
<commit_msg>Add CURL_CA_BUNDLE env var to Dockerfile<commit_after>FROM ubuntu:latest
MAINTAINER <NAME> <<EMAIL>>
# https://goo.gl/aypXVx
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
    build-essential \
    curl \
    cmake \
    gdal-bin \
    geographiclib-tools \
    libfftw3-dev \
    libgdal-dev \
    libgeographic-dev \
    libgeotiff-dev \
    libtiff5-dev \
    python3 \
    python3-numpy

# Install pip
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py

# Copy files needed to install s2p
WORKDIR /root
COPY LICENSE.txt MANIFEST.in README.md setup.py makefile s2p/
WORKDIR /root/s2p
COPY 3rdparty/ 3rdparty/
COPY c/ c/
COPY s2p/ s2p/
COPY bin/ bin/
COPY lib/ lib/

# Install s2p
RUN pip install -e .

# https://github.com/mapbox/rasterio#ssl-certs
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

{'fraction_non_alphanumeric': 0.11076540136901059, 'fraction_numerical': 0.016179215930304917, 'mean_word_length': 2.7482517482517483, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 5, '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': '1107807', 'n_tokens_mistral': 669, 'n_tokens_neox': 632, 'n_words': 154}