<commit_before>FROM ubuntu
MAINTAINER Maluuba Infrastructure Team <<EMAIL>>

EXPOSE 80
EXPOSE 443

RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install gcc libpcre3 libpcre3-dev zlib1g-dev make

ADD nginx-openssl.tar.gz /tmp/
ADD nginx.conf /usr/local/nginx/conf/nginx.conf
ADD start-nginx.sh /opt/start-nginx.sh

RUN chmod 700 /opt/start-nginx.sh

WORKDIR /tmp/nginx-openssl/openssl-1.0.1g
RUN ./config

WORKDIR /tmp/nginx-openssl/nginx-1.7.5-maluuba
RUN ./configure.sh
RUN make
RUN make install
RUN ln -s /lib/x86_64-linux-gnu/libpcre.so.3 /lib/x86_64-linux-gnu/libpcre.so.0
ENV LD_LIBRARY_PATH /lib/x86_64-linux-gnu/
RUN useradd nginx

# Increase ECDHE SSL security
RUN openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096

 
# Define mountable directories.
VOLUME ["/usr/local/nginx/conf/sites-enabled", "/usr/local/nginx/conf/certs", "/usr/local/nginx/conf/conf.d", "/var/log/nginx"]

# Define default command.
CMD ["/opt/start-nginx.sh"]
<commit_msg>changed openssl version back to g<commit_after>FROM ubuntu
MAINTAINER Maluuba Infrastructure Team <<EMAIL>>

EXPOSE 80
EXPOSE 443

RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install gcc libpcre3 libpcre3-dev zlib1g-dev make

ADD nginx-openssl.tar.gz /tmp/
ADD nginx.conf /usr/local/nginx/conf/nginx.conf
ADD start-nginx.sh /opt/start-nginx.sh

RUN chmod 700 /opt/start-nginx.sh

WORKDIR /tmp/nginx-openssl/openssl-1.0.1i
RUN ./config

WORKDIR /tmp/nginx-openssl/nginx-1.7.5-maluuba
RUN ./configure.sh
RUN make
RUN make install
RUN ln -s /lib/x86_64-linux-gnu/libpcre.so.3 /lib/x86_64-linux-gnu/libpcre.so.0
ENV LD_LIBRARY_PATH /lib/x86_64-linux-gnu/
RUN useradd nginx

# Increase ECDHE SSL security
RUN openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096

 
# Define mountable directories.
VOLUME ["/usr/local/nginx/conf/sites-enabled", "/usr/local/nginx/conf/certs", "/usr/local/nginx/conf/conf.d", "/var/log/nginx"]

# Define default command.
CMD ["/opt/start-nginx.sh"]

{'fraction_non_alphanumeric': 0.13149847094801223, 'fraction_numerical': 0.03567787971457696, 'mean_word_length': 3.741545893719807, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '319835', 'n_tokens_mistral': 855, 'n_tokens_neox': 778, 'n_words': 181}