<commit_before># carbon-c-relay
#
# VERSION  0.1.0
#
# Use phusion/baseimage as base image.
# https://github.com/phusion/baseimage-docker/blob/master/Changelog.md
#
FROM phusion/baseimage:0.9.15
MAINTAINER <NAME> <<EMAIL>>

# Set correct environment variables.
ENV HOME /root
ENV DEBIAN_FRONTEND noninteractive

# Delete ssh_gen_keys
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh

# Update
RUN apt-get update

# install package or download it from releases
ADD *.deb /tmp/
RUN dpkg -i /tmp/*.deb
ADD config/*.conf /etc/carbon/

# runinit
RUN mkdir /etc/service/carbon-c-relay
RUN sh -c 'echo "#!/bin/sh\n. /etc/default/carbon-c-relay\nexec /sbin/setuser carbon /usr/sbin/carbon-c-relay \$OPTS" >> /etc/service/carbon-c-relay/run'
RUN chmod 0755 /etc/service/carbon-c-relay/run

EXPOSE 2003

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*<commit_msg>changed >> to ><commit_after># carbon-c-relay
#
# VERSION  0.1.0
#
# Use phusion/baseimage as base image.
# https://github.com/phusion/baseimage-docker/blob/master/Changelog.md
#
FROM phusion/baseimage:0.9.15
MAINTAINER <NAME> <<EMAIL>>

# Set correct environment variables.
ENV HOME /root
ENV DEBIAN_FRONTEND noninteractive

# Delete ssh_gen_keys
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh

# Update
RUN apt-get update

# install package or download it from releases
ADD *.deb /tmp/
RUN dpkg -i /tmp/*.deb
ADD config/*.conf /etc/carbon/

# runinit
RUN mkdir /etc/service/carbon-c-relay
RUN sh -c 'echo "#!/bin/sh\n. /etc/default/carbon-c-relay\nexec /sbin/setuser carbon /usr/sbin/carbon-c-relay \$OPTS" > /etc/service/carbon-c-relay/run'
RUN chmod 0755 /etc/service/carbon-c-relay/run

EXPOSE 2003

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
{'fraction_non_alphanumeric': 0.14686384497705252, 'fraction_numerical': 0.017338092809790925, 'mean_word_length': 3.5841121495327104, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1935841', 'n_tokens_mistral': 818, 'n_tokens_neox': 763, 'n_words': 187}