Added ripmime binary to conf directory

This commit is contained in:
Karl Cordes 2019-06-30 12:00:39 +10:00
parent 069dcfdcd5
commit 401e24ffc4
3 changed files with 5 additions and 2 deletions

View file

@ -13,7 +13,7 @@ RUN apt-get update
RUN apt-get -y upgrade RUN apt-get -y upgrade
# Install apache, PHP, and supplimentary programs. curl and lynx-cur are for debugging the container. # Install apache, PHP, and supplimentary programs. curl and lynx-cur are for debugging the container.
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 php5-mysql php5-gd php-pear php-apc php5-curl php5-imap RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 php5-mysql php5-gd php-pear php-apc php5-curl php5-imap ripmime
# Enable apache mods. # Enable apache mods.
#RUN php5enmod openssl #RUN php5enmod openssl
@ -49,6 +49,9 @@ RUN chmod -R 755 /var/www/cmc-sales/app/tmp
# Update the default apache site with the config we created. # Update the default apache site with the config we created.
ADD conf/apache-vhost.conf /etc/apache2/sites-available/cmc-sales ADD conf/apache-vhost.conf /etc/apache2/sites-available/cmc-sales
ADD conf/ripmime /bin/ripmime
RUN chmod +x /bin/ripmime
RUN a2dissite 000-default RUN a2dissite 000-default
RUN a2ensite cmc-sales RUN a2ensite cmc-sales

View file

@ -22,7 +22,7 @@ class VaultShell extends Shell {
/****************************************************** /******************************************************
* Config Variables * Config Variables
* *****************************************************/ * *****************************************************/
$ripmime_path = '/usr/local/bin/ripmime'; $ripmime_path = '/bin/ripmime';
$email_dir = '/var/www/emails'; $email_dir = '/var/www/emails';
$vault_dir = '/var/www/vaultmsgs/new'; $vault_dir = '/var/www/vaultmsgs/new';
$processed_dir = '/var/www/vaultmsgs/cur'; $processed_dir = '/var/www/vaultmsgs/cur';

BIN
conf/ripmime Executable file

Binary file not shown.