From b3efd5301dd2b0e26c21197c0cbf6cd746a0ee5e Mon Sep 17 00:00:00 2001 From: jekkos-t520 Date: Mon, 17 Oct 2016 13:25:57 +0200 Subject: [PATCH] Add sendmail to docker container (#772) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee63686a6..3e8599744 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,13 @@ MAINTAINER jekkos RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ php5-apcu \ libicu-dev \ - libgd-dev + libgd-dev \ + sendmail RUN a2enmod rewrite RUN docker-php-ext-install mysql mysqli bcmath intl gd sockets mbstring RUN echo "date.timezone = \"\${PHP_TIMEZONE}\"" > /usr/local/etc/php/conf.d/timezone.ini +RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/hosts WORKDIR /app COPY . /app