<commit_before>FROM debian:jessie
MAINTAINER <EMAIL>

RUN apt-get update
RUN apt-get update
RUN apt-get install -y bind9
RUN apt-get install -y dnsutils

RUN apt-get install -y vim

RUN mkdir /ddns

RUN mkdir /ddns/client

RUN mkdir /ddns/config
ADD config/dev.example.com /ddns/config/dev.example.com
VOLUME /ddns/config

ADD templates /ddns/templates

ADD client /ddns/client

ADD server /ddns/server
RUN chmod +x /ddns/server/setup.sh

ADD start.sh /ddns/server
RUN chmod +x /ddns/start.sh


WORKDIR /ddns/server

RUN cp /ddns/templates/logging /etc/bind/named.conf.logging
RUN mkdir /var/log/named/
RUN chown bind:bind /var/log/named/
RUN echo 'include "/etc/bind/named.conf.logging";' >> /etc/bind/named.conf

EXPOSE 53/udp
EXPOSE 53

VOLUME /ddns/config

CMD service bind9 restart && tail -F /var/log/named/bind.log

<commit_msg>bugfix<commit_after>FROM debian:jessie
MAINTAINER <EMAIL>

RUN apt-get update
RUN apt-get update
RUN apt-get install -y bind9
RUN apt-get install -y dnsutils

RUN apt-get install -y vim

RUN mkdir /ddns

RUN mkdir /ddns/client

RUN mkdir /ddns/config
ADD config/dev.example.com /ddns/config/dev.example.com
VOLUME /ddns/config

ADD templates /ddns/templates

ADD server /ddns/server
RUN chmod +x /ddns/server/setup.sh

ADD start.sh /ddns/start.sh
RUN chmod +x /ddns/start.sh


WORKDIR /ddns/server

RUN cp /ddns/templates/logging /etc/bind/named.conf.logging
RUN mkdir /var/log/named/
RUN chown bind:bind /var/log/named/
RUN echo 'include "/etc/bind/named.conf.logging";' >> /etc/bind/named.conf

EXPOSE 53/udp
EXPOSE 53

VOLUME /ddns/config

CMD service bind9 restart && tail -F /var/log/named/bind.log


{'fraction_non_alphanumeric': 0.11280487804878049, 'fraction_numerical': 0.007317073170731708, 'mean_word_length': 3.5331491712707184, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3648194', 'n_tokens_mistral': 641, 'n_tokens_neox': 625, 'n_words': 177}