<commit_before># docker image
FROM ubuntu:16.04

# maintainer information
MAINTAINER ayapapa <EMAIL>

# environment vars
ENV ALM_HOME="/home/alm"  \
    ALM_HOSTNAME="localhost" \
    ALM_ENABLE_SSL="N" \
    ALM_RELATIVE_URL_ROOT="" \
    ALM_DB_HOST=db \
    ALM_DB_ROOT_PASS= \
    ALM_ENABLE_JENKINS="N" \
    # auto backup in every 2 days at 3 A.M.
    ALM_ENABLE_AUTO_BACKUP="y" \
    ALM_BACKUP_MINUTE="0" \
    ALM_BACKUP_HOUR="3" \
    ALM_BACKUP_DAY="*/2" \
    ALM_BACKUP_EXPIRY="14" \
    ALM_BACKUP_DIR="/var/opt/alminium-backup" \
    ALM_BACKUP_LOG="/opt/alminium/log/backup.log" \
    ALM_DB_SETUP="N" \
    ALM_VER="v3.3.2a" \
    RM_VER="3.3.2" \
    DEBIAN_FRONTEND="noninteractive"
    
# copy install script
COPY ./install.sh ${ALM_HOME}/install.sh

# install packages
RUN apt-get update && apt-get dist-upgrade -y && \
    apt-get install -y apache2 bc g++ git \
      imagemagick libapache2-mod-passenger libapache2-mod-perl2 \
      libapache2-mod-wsgi libapache2-svn libdbd-mysql-perl \
      libdbi-perl libmagickcore-dev libmagickwand-dev \
      libmysqlclient-dev libsqlite3-dev libssl-dev make \
      mercurial mysql-client php-mysql ruby ruby-dev subversion \
      supervisor unzip wget && \
    ${ALM_HOME}/install.sh && \
    apt-get clean -y && apt-get autoremove -y && apt-get autoclean && \
    rm -rf /var/lib/apt/lists/* /var/cache/apt /tmp/*

# clone alminium
COPY ./install.sh ${ALM_HOME}/install.sh
RUN ${ALM_HOME}/install.sh

# Expose web
EXPOSE 80 443

# Define data volumes
VOLUME ["/opt/alminium/files", "/var/opt/alminium", "/var/lib/mysql", "/var/log/alminium"]

# supervisor config
COPY ./supervisord.conf /etc/supervisord.conf

# working directory
WORKDIR ${ALM_HOME}

# deamon
ENTRYPOINT /usr/bin/supervisord -c /etc/supervisord.conf

# command
CMD /bin/bash
<commit_msg>update Dockerfile.temple and jenkins/Dockerfile for previous correction omission<commit_after># docker image
FROM ubuntu:16.04

# maintainer information
MAINTAINER ayapapa <EMAIL>

# environment vars
ENV ALM_HOME="/home/alm"  \
    ALM_HOSTNAME="localhost" \
    ALM_ENABLE_SSL="N" \
    ALM_RELATIVE_URL_ROOT="" \
    ALM_DB_HOST=db \
    ALM_DB_ROOT_PASS= \
    ALM_ENABLE_JENKINS="N" \
    # auto backup in every 2 days at 3 A.M.
    ALM_ENABLE_AUTO_BACKUP="y" \
    ALM_BACKUP_MINUTE="0" \
    ALM_BACKUP_HOUR="3" \
    ALM_BACKUP_DAY="*/2" \
    ALM_BACKUP_EXPIRY="14" \
    ALM_BACKUP_DIR="/var/opt/alminium-backup" \
    ALM_BACKUP_LOG="/opt/alminium/log/backup.log" \
    ALM_DB_SETUP="N" \
    ALM_VER="v3.3.2a" \
    RM_VER="3.3.2" \
    DEBIAN_FRONTEND="noninteractive"
    
# copy install script
COPY ./install.sh ${ALM_HOME}/install.sh

# install packages and install redmine
RUN apt-get update && apt-get dist-upgrade -y && \
    apt-get install -y apache2 bc g++ git \
      imagemagick libapache2-mod-passenger libapache2-mod-perl2 \
      libapache2-mod-wsgi libapache2-svn libdbd-mysql-perl \
      libdbi-perl libmagickcore-dev libmagickwand-dev \
      libmysqlclient-dev libsqlite3-dev libssl-dev make \
      mercurial mysql-client php-mysql ruby ruby-dev subversion \
      supervisor unzip wget && \
    ${ALM_HOME}/install.sh && \
    apt-get clean -y && apt-get autoremove -y && apt-get autoclean && \
    rm -rf /var/lib/apt/lists/* /var/cache/apt /tmp/*

# Expose web
EXPOSE 80 443

# Define data volumes
VOLUME ["/opt/alminium/files", "/var/opt/alminium", "/var/lib/mysql", "/var/log/alminium"]

# supervisor config
COPY ./supervisord.conf /etc/supervisord.conf

# working directory
WORKDIR ${ALM_HOME}

# deamon
ENTRYPOINT /usr/bin/supervisord -c /etc/supervisord.conf

# command
CMD /bin/bash

{'fraction_non_alphanumeric': 0.12996983822319716, 'fraction_numerical': 0.015903482314230874, 'mean_word_length': 3.0942760942760943, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6130394', 'n_tokens_mistral': 1474, 'n_tokens_neox': 1414, 'n_words': 271}