<commit_before># Debian: Nginx 1.9.9
#
# VERSION 0.0.1

# - Set the base image.
FROM debian:jessie

# - Set author.
MAINTAINER <NAME> <<EMAIL>>

# - Append NGINX stanza to `/etc/apt/sources.list`.
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys <KEY>
RUN echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list

# - Set environment variable `NGINX Version`.
ENV NGINX_VERSION 1.9.9-1~jessie

# - Update APT.
# - Install openssl.
# - Install ca-certificates.
# - Install NGINX.
# - Remove "/var/lib/apt/lists/*".
RUN apt-get update && \
    apt-get install -y openssl ca-certificates nginx=${NGINX_VERSION} && \
    rm -rf /var/lib/apt/lists/*

# - Remove default configuration files.
RUN rm -rf /etc/nginx/conf.d/*

# - Remove `/srv/www/*`.
RUN rm -rf /srv/www/*
<commit_msg>Add managed nginx files.<commit_after># Debian: Nginx 1.9.9
#
# VERSION 0.0.1

# - Set the base image.
FROM debian:jessie

# - Set author.
MAINTAINER <NAME> <<EMAIL>>

# - Append nginx stanza to `/etc/apt/sources.list`.
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys <KEY>
RUN echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list

# - Set environment variable `NGINX Version`.
ENV NGINX_VERSION 1.9.9-1~jessie

# - Update apt.
# - Install openssl.
# - Install ca-certificates.
# - Install nginx.
# - Remove "/var/lib/apt/lists/*".
RUN apt-get update && \
    apt-get install -y openssl ca-certificates nginx=${NGINX_VERSION} && \
    rm -rf /var/lib/apt/lists/*

# - Remove default configuration files.
RUN rm -rf /etc/nginx/conf.d/*

# - Remove `/srv/www/*`.
RUN rm -rf /srv/www/*

# - Add managed nginx.conf.
ADD nginx.conf /etc/nginx/nginx.conf

# - Add managed default.conf.
ADD default.conf /etc/nginx/conf.d/default.conf

# - Add managed www files.
ADD index.html /srv/www/index.html
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.012861736334405145, 'mean_word_length': 2.9305263157894736, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '1289565', 'n_tokens_mistral': 746, 'n_tokens_neox': 718, 'n_words': 182}