Files
ireddocker/ireddocker/Dockerfile
T
2020-08-04 12:04:15 +00:00

41 lines
1.8 KiB
Docker

FROM ubuntu:bionic
MAINTAINER Artem Shvidkiy <shvidkiy@sut.ru>
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim apt-utils postfix postfix-pcre libsasl2-modules \
ldap-utils postfix-ldap libnet-ldap-perl libdbd-mysql-perl mariadb-server mariadb-client php-cli \
php-fpm php-json php-gd php-curl mcrypt php-intl php-xml php-mbstring php-ldap php-mysql \
nginx-full dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve \
dovecot-ldap dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl \
libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj nomarch cpio lzop cabextract \
p7zip-full rpm libmail-spf-perl unrar-free pax lrzip libclamunrar7 mlmmj python3-setuptools python3-pip \
python3-wheel python3-requests uwsgi uwsgi-plugin-python3 python3-ldap python3-pymysql php-net-ldap3 \
python3-sqlalchemy python3-dnspython python3-requests python3-pip python3-ldap python3-pymysql python-jinja2 \
python-netifaces python-pycurl python-bcrypt python-dnspython python-webpy python-mysqldb syslog-ng \
python-requests uwsgi uwsgi-plugin-python python-ldap python-mysqldb python-pymysql bzip2 acl patch cron \
tofrodos logwatch unzip bsdutils liblz4-tool distro-info-data iso-codes libapt-inst2.0 lsb-release powermgmt-base \
python-apt-common python3-apt python3-software-properties software-properties-common unattended-upgrades wget dialog libodbc1 slapd
ADD main.cvd /var/lib/clamav/main.cvd
RUN pip3 install web.py>=0.51 six>=1.15.0
ADD init-functions /lib/lsb/init-functions
ADD dockerinit.sh /dockerinit.sh
RUN ["mkdir", "/iredmail"]
ADD iredmail /iredmail
RUN ["chmod", "+x", "/dockerinit.sh"]
CMD ["/dockerinit.sh"]
EXPOSE 3306
EXPOSE 110
EXPOSE 995
EXPOSE 143
EXPOSE 993
EXPOSE 4190
EXPOSE 24
EXPOSE 12340
EXPOSE 24242
EXPOSE 7777
EXPOSE 7778
EXPOSE 3310
EXPOSE 25
EXPOSE 587
EXPOSE 465