<commit_before>FROM debian:stretch
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y taskd gnutls-bin

ENV TASKDDATA=/var/lib/taskd

RUN taskd init --data /var/lib/taskd
# make config
RUN taskd config --force client.cert $TASKDDATA/pki/client.cert.pem && \
	taskd config --force client.key $TASKDDATA/pki/client.key.pem && \
	taskd config --force server.cert $TASKDDATA/pki/server.cert.pem && \
	taskd config --force server.key $TASKDDATA/pki/server.key.pem && \
	taskd config --force server.crl $TASKDDATA/pki/server.crl.pem && \
	taskd config --force ca.cert $TASKDDATA/pki/ca.cert.pem && \
	taskd config server 0.0.0.0:53589 && \
	taskd config debug.tls 3 && \
	taskd add org Public

# do it live
EXPOSE 53589

VOLUME /var/lib/taskd
WORKDIR /var/lib/taskd

# to find the volume: `docker inspect --format='{{.Volumes}}'`

CMD ["taskd", "server"]<commit_msg>Push all logs to stdout.<commit_after>FROM debian:stretch
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y taskd gnutls-bin

ENV TASKDDATA=/var/lib/taskd

RUN taskd init --data /var/lib/taskd
# make config
RUN taskd config --force client.cert $TASKDDATA/pki/client.cert.pem && \
	taskd config --force client.key $TASKDDATA/pki/client.key.pem && \
	taskd config --force server.cert $TASKDDATA/pki/server.cert.pem && \
	taskd config --force server.key $TASKDDATA/pki/server.key.pem && \
	taskd config --force server.crl $TASKDDATA/pki/server.crl.pem && \
	taskd config --force ca.cert $TASKDDATA/pki/ca.cert.pem && \
	taskd config server 0.0.0.0:53589 && \
	taskd config debug.tls 3 && \
	taskd config log /dev/stdout && \
	taskd add org Public

# do it live
EXPOSE 53589

VOLUME /var/lib/taskd
WORKDIR /var/lib/taskd

# to find the volume: `docker inspect --format='{{.Volumes}}'`

CMD ["taskd", "server"]
{'fraction_non_alphanumeric': 0.14855875831485588, 'fraction_numerical': 0.01662971175166297, 'mean_word_length': 3.490049751243781, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3971079', 'n_tokens_mistral': 728, 'n_tokens_neox': 699, 'n_words': 175}