<commit_before>FROM osixia/light-baseimage:0.1.0
MAINTAINER <NAME> <<EMAIL>>

# Use baseimage-docker's init system.
CMD ["/osixia/tool/run"]

# Install postfix, dovecot, opendkim, clamav, spamassassin
RUN apt-get update && /sbin/install-multiple-process-stack \
  && /sbin/install-service-available ssl-helper-openssl \
	&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
	postfix postfix-ldap  \
	dovecot-core dovecot-imapd dovecot-lmtpd dovecot-pop3d dovecot-ldap dovecot-sieve dovecot-managesieved \
	opendkim opendkim-tools ldap-utils\
	spamassassin spamc \
	clamav clamav-base clamav-freshclam clamav-daemon clamav-milter \
	arj bzip2 cabextract cpio file gzip lzop nomarch p7zip pax rpm unrar-free unzip zip zoo \
	&& freshclam  -v

# Add service directory to /osixia/service
ADD service /osixia/service

# Use baseimage install-service script and clean all
RUN ./sbin/install-service && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Add default env variables
ADD env.yaml /etc/env.yaml

# Set mails directory in a data volume
VOLUME ["/var/mail"]

# Expose smtp, pop3, imap, smtp (submission) and managesieve ports
EXPOSE 25 110 143 587 4190<commit_msg>modify baseimage tool<commit_after>FROM osixia/light-baseimage:0.1.0
MAINTAINER <NAME> <<EMAIL>>

# Use baseimage-docker's init system.
CMD ["/osixia/tool/run"]

# Install postfix, dovecot, opendkim, clamav, spamassassin
RUN apt-get update && /sbin/add-multiple-process-stack \
  && /sbin/add-service-available ssl-helper-openssl \
	&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
	postfix postfix-ldap  \
	dovecot-core dovecot-imapd dovecot-lmtpd dovecot-pop3d dovecot-ldap dovecot-sieve dovecot-managesieved \
	opendkim opendkim-tools ldap-utils\
	spamassassin spamc \
	clamav clamav-base clamav-freshclam clamav-daemon clamav-milter \
	arj bzip2 cabextract cpio file gzip lzop nomarch p7zip pax rpm unrar-free unzip zip zoo \
	&& freshclam  -v

# Add service directory to /osixia/service
ADD service /osixia/service

# Use baseimage install-service script and clean all
RUN ./sbin/install-service && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Add default env variables
ADD env.yaml /etc/env.yaml

# Set mails directory in a data volume
VOLUME ["/var/mail"]

# Expose smtp, pop3, imap, smtp (submission) and managesieve ports
EXPOSE 25 110 143 587 4190
{'fraction_non_alphanumeric': 0.1076417419884963, 'fraction_numerical': 0.018077239112571898, 'mean_word_length': 4.083507306889353, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1497681', 'n_tokens_mistral': 957, 'n_tokens_neox': 900, 'n_words': 241}