<commit_before>FROM ubuntu:16.04

# Replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh

# Set debconf to run non-interactively
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections

# Install haproxy
RUN apt-get update
RUN apt-get -y install haproxy openssh-server less vim supervisor
RUN apt-get clean all

#Setup SSH
ADD supervisor-sshd.conf /etc/supervisor/conf.d/sshd.conf
RUN service ssh start #Need this for 1st time setup
RUN ssh-keygen -b 2048 -f /root/.ssh/id_rsa -N ""
#This is the public key for jenkins
RUN echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfnRTZKrsCjf6878ufbnV3Vwg2aDpX2BH7TNGv5xq1m2aZhJ/Kw8tmGmrt3+iTcTYR0eS7hsFkgAotWkkyszkvwEbus/jXUEFAiSNRR61UHP0jV/LndJh0U6R1yqHVndQbfx4pNEr9bi7xMj/4ARs54iGWmH+REMVwMQGrAoEi9CHvPSEGEEhuprvfID3/iDesHtgFz4f1tnzje70pguAIQHBFt3zDjDoeZcSohXDFsJjq1647eyLUy+/wTxzdhpci6rrcOecsKoGnuVYecZOVssRQXlyTeOsD29TIiQceGVp+cqU3AawF2uMF6Er7UP3VSNMwAQhDWyla3NpE3kxt <EMAIL>@<EMAIL>" > /root/.ssh/authorized_keys

# Setup haproxy
ADD supervisor-haproxyd.conf /etc/supervisor/conf.d/haproxyd.conf
ADD tater.io.pem /tater.io.pem
ADD haproxy.cfg /etc/haproxy/haproxy.cfg

LABEL app="app-router"
EXPOSE 80
EXPOSE 443
EXPOSE 22

ADD run.sh /run.sh
CMD /bin/bash /run.sh<commit_msg>Adding volume for letsencrypt to app router<commit_after>FROM ubuntu:16.04

# Replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh

# Set debconf to run non-interactively
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections

# Install haproxy
RUN apt-get update
RUN apt-get -y install haproxy openssh-server less vim supervisor
RUN apt-get clean all

#Setup SSH
ADD supervisor-sshd.conf /etc/supervisor/conf.d/sshd.conf
RUN service ssh start #Need this for 1st time setup
RUN ssh-keygen -b 2048 -f /root/.ssh/id_rsa -N ""
#This is the public key for jenkins
RUN echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfnRTZKrsCjf6878ufbnV3Vwg2aDpX2BH7TNGv5xq1m2aZhJ/Kw8tmGmrt3+iTcTYR0eS7hsFkgAotWkkyszkvwEbus/jXUEFAiSNRR61UHP0jV/LndJh0U6R1yqHVndQbfx4pNEr9bi7xMj/4ARs54iGWmH+REMVwMQGrAoEi9CHvPSEGEEhuprvfID3/iDesHtgFz4f1tnzje70pguAIQHBFt3zDjDoeZcSohXDFsJjq1647eyLUy+/wTxzdhpci6rrcOecsKoGnuVYecZOVssRQXlyTeOsD29TIiQceGVp+cqU3AawF2uMF6Er7UP3VSNMwAQhDWyla3NpE3kxt <EMAIL>" > /root/.ssh/authorized_keys

# Setup haproxy
ADD supervisor-haproxyd.conf /etc/supervisor/conf.d/haproxyd.conf
ADD tater.io.pem /tater.io.pem
ADD haproxy.cfg /etc/haproxy/haproxy.cfg

LABEL app="app-router"
EXPOSE 80
EXPOSE 443
EXPOSE 22
VOLUME /etc/letsencrypt
ADD run.sh /run.sh
CMD /bin/bash /run.sh
{'fraction_non_alphanumeric': 0.07857416634725949, 'fraction_numerical': 0.051360674587964734, 'mean_word_length': 5.624365482233503, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, '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': '505476', 'n_tokens_mistral': 1343, 'n_tokens_neox': 1208, 'n_words': 223}