<commit_before># iRedmail Dockerfile in CentOS 7
#
# Build:
# docker build -t burkeazbill/iredmail:latest .
#
# Create:
# docker create --privileged -it --restart=always -v /srv/iredmail/vmail:var/vmail -p 80:80 -p 443:443 -p 25:25 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -h your_domain.com --name container_name burkeazbill/iredmail
#
# Start:
# docker start container_name
#
# Connect bash:
# docker exec -it container_name bash

# Pull base image
FROM centos:latest

# Maintener
MAINTAINER <NAME> <<EMAIL>>

# Env
ENV IREDMAIL_VERSION 0.9.6
ENV container docker
ENV HOME /root
WORKDIR /root

# Install packages necessary:
RUN yum update -y; \
    yum install -y unzip wget curl git tar bzip2 hostname rsyslog openssl epel-release; \
    yum -y reinstall systemd; \
    yum clean all

# Get iredmail, extract and remove tar
RUN mkdir -p /opt/iredmail; \
    cd /opt/iredmail; \
    wget -c https://bitbucket.org/zhb/iredmail/downloads/iRedMail-$IREDMAIL_VERSION.tar.bz2; \
    tar xjf iRedMail-$IREDMAIL_VERSION.tar.bz2; \
    rm iRedMail-$IREDMAIL_VERSION.tar.bz2

# Install systemd<commit_msg>Added deltarpm to first yum call to reduce total download<commit_after># iRedmail Dockerfile in CentOS 7
#
# Build:
# docker build -t burkeazbill/iredmail:latest .
#
# Create:
# docker create --privileged -it --restart=always -v /srv/iredmail/vmail:var/vmail -p 80:80 -p 443:443 -p 25:25 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -h your_domain.com --name container_name burkeazbill/iredmail
#
# Start:
# docker start container_name
#
# Connect bash:
# docker exec -it container_name bash

# Pull base image
FROM centos:latest

# Maintainer
MAINTAINER <NAME> <<EMAIL>>

# Env
ENV IREDMAIL_VERSION 0.9.6
ENV container docker
ENV HOME /root
WORKDIR /root

# Install packages necessary:
RUN yum install -y deltarpm; \
    yum update -y; \
    yum install -y unzip wget curl git tar bzip2 hostname rsyslog openssl epel-release; \
    yum -y reinstall systemd; \
    yum clean all

# Get iredmail, extract and remove tar
RUN mkdir -p /opt/iredmail; \
    cd /opt/iredmail; \
    wget -c https://bitbucket.org/zhb/iredmail/downloads/iRedMail-$IREDMAIL_VERSION.tar.bz2; \
    tar xjf iRedMail-$IREDMAIL_VERSION.tar.bz2; \
    rm iRedMail-$IREDMAIL_VERSION.tar.bz2

# Install systemd
{'fraction_non_alphanumeric': 0.10652173913043478, 'fraction_numerical': 0.04521739130434783, 'mean_word_length': 3.520628683693517, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '280348', 'n_tokens_mistral': 945, 'n_tokens_neox': 844, 'n_words': 254}