<commit_before># Copyright 2014 <NAME>

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian

MAINTAINER <NAME> <<EMAIL>>

# Update the system
RUN apt-get update
RUN apt-get -y upgrade

# Install compilers
RUN apt-get install -y curl gcc make g++ openssl libssl-dev libpcre3-dev

# zlib installation
RUN curl -O http://zlib.net/zlib-1.2.8.tar.gz
RUN tar -xzf zlib-1.2.8.tar.gz
WORKDIR zlib-1.2.8
RUN ./configure
RUN make
RUN make install

WORKDIR /
RUN rm -rf zlib-1.2.8

# nginx installation
RUN curl -O http://nginx.org/download/nginx-1.6.1.tar.gz
RUN tar -xzf nginx-1.6.1.tar.gz

WORKDIR nginx-1.6.1
RUN ./configure --user=nginx --group=nginx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --with-pcre --with-file-aio --with-http_realip_module --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module

RUN make && make install

ADD ./nginx /etc/init.d/nginx

RUN chmod +x /etc/init.d/nginx

RUN apt-get remove -y curl gcc make g++<commit_msg>Add apt-get autoremove command.<commit_after># Copyright 2014 <NAME>

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian

MAINTAINER <NAME> <<EMAIL>>

# Update the system
RUN apt-get update
RUN apt-get -y upgrade

# Install compilers
RUN apt-get install -y curl gcc make g++ openssl libssl-dev libpcre3-dev

# zlib installation
RUN curl -O http://zlib.net/zlib-1.2.8.tar.gz
RUN tar -xzf zlib-1.2.8.tar.gz
WORKDIR zlib-1.2.8
RUN ./configure
RUN make
RUN make install

WORKDIR /
RUN rm -rf zlib-1.2.8

# nginx installation
RUN curl -O http://nginx.org/download/nginx-1.6.1.tar.gz
RUN tar -xzf nginx-1.6.1.tar.gz

WORKDIR nginx-1.6.1
RUN ./configure --user=nginx --group=nginx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --with-pcre --with-file-aio --with-http_realip_module --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module

RUN make && make install

ADD ./nginx /etc/init.d/nginx

RUN chmod +x /etc/init.d/nginx

# cleanup
RUN apt-get remove -y curl gcc make g++
RUN apt-get autoremove
{'fraction_non_alphanumeric': 0.12312056737588653, 'fraction_numerical': 0.01702127659574468, 'mean_word_length': 3.639473684210526, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '2293371', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1212, 'n_words': 376}